Hard coded pins for nRF51822 in this version
Fork of Grove_3-Axis_Digital_Accelerometer_MMA7660FC_Library by
Revision 1:513c1fefeede, committed 2014-11-04
- Comitter:
- michaeljkoster
- Date:
- Tue Nov 04 05:29:12 2014 +0000
- Parent:
- 0:cc40c3196635
- Commit message:
- Define I2C pins for nRF51822
Changed in this revision
MMA7660FC.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r cc40c3196635 -r 513c1fefeede MMA7660FC.cpp --- a/MMA7660FC.cpp Fri Sep 05 23:14:35 2014 +0000 +++ b/MMA7660FC.cpp Tue Nov 04 05:29:12 2014 +0000 @@ -30,7 +30,7 @@ #include "MMA7660.h" -I2C i2c(I2C_SDA,I2C_SCL); +I2C i2c(P0_22, P0_20); /*Function: Write a byte to the register of the MMA7660*/ void MMA7660::write(uint8_t _register, uint8_t _data)