hello there i want to send output of i2C sensor on ble. but how to add i2c driver for ble application???
hello there i want to send output of i2C sensor on ble. but how to add i2c driver for ble application???
I would suggest looking at the TWI examples that are available.
Have a look here at the twi_simple_xxx example. The source is really clear and intuitive about how to establish a twi communication. HTH Johannes
i have seen TWI example. i have interfaced different sensors bmp180,adxl345. its working. but i want to send this data on ble. when i am writing i2c driver in code but my code says it can't find nrf_drv_twi.h file
You have #include "nrf_drv_twi.h"
in your source code? And you provided the include path to the "nrf_drv_twi.h" file in your toolchain? What is your toolchain, gcc, Keil?