This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Conversion of Wire.h for nRF52832

Hello all,

I am trying to make use of some Sparkfun libraries for some sensors in my nrF52pca10040.

I am interested on I2C, these libraries use the Arduino library Wire.h for the initialization of the I2C while i would like to use the nrf_drv_twi functions.

Do you have some examples or suggestion ? i have already check the discussion here  https://devzone.nordicsemi.com/f/nordic-q-a/20645/how-can-i-reuse-this-library-into-twi-library-in-nrf52

Thank you very much in advance,

Kind regards,

polimarte

Related