Hi ,
i am trying to program the ecg2 click sensor to test heartbeat values

I tried to test the sensor using the arduino and it works very well but I want to program it on the nrf52840 board
is there source code to help me program it
Hi ,
i am trying to program the ecg2 click sensor to test heartbeat values

I tried to test the sensor using the arduino and it works very well but I want to program it on the nrf52840 board
is there source code to help me program it
There is/are 3rd-party Arduino core(s) available for nRF52840 - so that might be your easiest approach?
But they are 3rd-party - not supplied or supported by Nordic.
Otherwise, you are going to have to study how the comms works (see the chip's documentation), and implement that using the Nordic SDK.
You can study the Arduino code as an example for guidance.
Generally: How To Interface Anything to Anything Else.