Are there any I2C examples for the nRF51822 ( write/ read functions) ? If not, can anyone suggest a good starting point for I2C? I am using Eclipse kepler for development. Thank you for all suggests.
Are there any I2C examples for the nRF51822 ( write/ read functions) ? If not, can anyone suggest a good starting point for I2C? I am using Eclipse kepler for development. Thank you for all suggests.
I wrote my own little wrapper that might help, see attached i2c.c.
Ok, you are right, it looks like my code is using an older version of the Nordic sdk. The new examples that are bundled with Keil C use nrf_drv_twi_init and nrf_drv_twi_tx.
Ok, you are right, it looks like my code is using an older version of the Nordic sdk. The new examples that are bundled with Keil C use nrf_drv_twi_init and nrf_drv_twi_tx.