
Hepta 9axis Sensor(Accelerometer)
Dependencies: mbed HeptaBattery
Fork of Lab7-01_template by
Revision 18:b7337953f90c, committed 2019-08-19
- Comitter:
- HEPTA
- Date:
- Mon Aug 19 06:41:59 2019 +0000
- Parent:
- 17:94ed44d2bb29
- Commit message:
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 94ed44d2bb29 -r b7337953f90c main.cpp --- a/main.cpp Mon Aug 19 06:01:45 2019 +0000 +++ b/main.cpp Mon Aug 19 06:41:59 2019 +0000 @@ -2,7 +2,7 @@ #include "HeptaBattery.h" I2C i2c(p28, p27); Serial pc(USBTX, USBRX); -HeptaBattery battery(p19,p26); +HeptaBattery battery(p16,p26); const int addr_accel_gyro = 0xD0; char cmd[2]; short int xl,xh,yl,yh,zl,zh;