Hepta 9axis Sensor(magnetometer)
Dependencies: mbed HeptaBattery
Fork of Lab7-01_template by
Revision 17:251c49305819, committed 2019-08-19
- Comitter:
- HEPTA
- Date:
- Mon Aug 19 06:45:58 2019 +0000
- Parent:
- 16:2ddb40e12082
- Commit message:
Changed in this revision
HeptaBattery.lib | Show annotated file Show diff for this revision Revisions of this file |
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 2ddb40e12082 -r 251c49305819 HeptaBattery.lib --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/HeptaBattery.lib Mon Aug 19 06:45:58 2019 +0000 @@ -0,0 +1,1 @@ +https://os.mbed.com/users/HEPTA/code/HeptaBattery/#7d0aaedfe1c0
diff -r 2ddb40e12082 -r 251c49305819 main.cpp --- a/main.cpp Mon Aug 19 05:41:02 2019 +0000 +++ b/main.cpp Mon Aug 19 06:45:58 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]; const int addr_compus = 0x18;