hello there i want to interface accelerometer with nrf51822 using i2c. any sample example available for i2c?
hello there i want to interface accelerometer with nrf51822 using i2c. any sample example available for i2c?
You should check the latest SDK (v10) where we added quite a lot regarding i2c interface:
there is a basic example which is using nrf_drv_twi peripheral driver.
There is a new module called app_twi. It is very useful if you plan to have more than one slave on the i2c bus. There is also an example to show how to use the module.
code compliled . but when i am trying to upload on kit. it shows me error no ulink device found
code compliled . but when i am trying to upload on kit. it shows me error no ulink device found