Modified I2C api to work with NRF's dynamic pin asignment.
Dependents: Seed_Barometer_Sensor_custom_I2C_lib
Note that the only changes are in the constructor. I tried extending the original I2C class, but could not find away to avoid the i2c_init from being called there.
Changes
Revision | Date | Who | Commit message |
---|---|---|---|
2:9d9fc94594e3 | 2014-10-22 | jaerts | Reset after changing pins on init |
1:6e73259cca6e | 2014-10-22 | jaerts | Updated example code |
0:3d97d631d8dd | 2014-10-22 | jaerts | First Release |