Lab4
Dependencies: mbed HeptaBattery
Diff: main.cpp
- Revision:
- 17:06b6a04071d2
- Parent:
- 16:4268afb603d3
--- a/main.cpp Mon Aug 19 05:35:36 2019 +0000 +++ b/main.cpp Mon Aug 19 06:44:40 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 gxl,gxh,gyl,gyh,gzl,gzh;