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.
Revisions of I2CX.cpp
Revision | Date | Message | Actions |
---|---|---|---|
2:9d9fc94594e3 | 2014-10-22 | Reset after changing pins on init | File Diff Annotate |
0:3d97d631d8dd | 2014-10-22 | First Release | File Diff Annotate |