Hepta 9axis Sensor (Gyroscope)

Dependencies:   mbed HeptaBattery

Fork of Lab7-01_template by HEPTA-Sat Training 2017~2018

Files at this revision

API Documentation at this revision

Comitter:
HEPTA
Date:
Mon Aug 19 06:44:40 2019 +0000
Parent:
16:4268afb603d3
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 4268afb603d3 -r 06b6a04071d2 HeptaBattery.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/HeptaBattery.lib	Mon Aug 19 06:44:40 2019 +0000
@@ -0,0 +1,1 @@
+https://os.mbed.com/users/HEPTA/code/HeptaBattery/#7d0aaedfe1c0
diff -r 4268afb603d3 -r 06b6a04071d2 main.cpp
--- 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;