Hello All
I am working on nrf52832. right now i am try to combine peripheral twi sensor program and ble_app_template. Because in my application use LM6BD temprature sensor connect with nRF52832 through i2c and take reading of sensor and then I try to read that data in device(Phone) for that i create custom service.
My problem is when i try to debug this program which is combination of that 2 program at that time:
'NRF_DRV_TWI_INSTANCE_0' undeclared here (not in a function); did you mean 'NRF_DRV_TWI_INSTANCE_'?
i got this error. But i already define this variable in main program.for example #define TWI_INSTANCE_ID 0
and this error got in below sentence
#define NRF_DRV_TWI_INSTANCE_(id) NRF_DRV_TWI_INSTANCE_ ## id.
So give me some idea for solving this error.
so please help me solve this error..