Hepta 9axis Sensor(Accelerometer)

Dependencies:   mbed HeptaBattery Hepta9axis

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

Revision:
15:53779160ad9d
Parent:
14:8d870350014c
Child:
16:f268c8b3e1aa
--- a/main.cpp	Thu Sep 07 13:41:33 2017 +0000
+++ b/main.cpp	Sat Aug 17 08:43:36 2019 +0000
@@ -3,9 +3,11 @@
 
 Serial pc(USBTX,USBRX);
 Hepta9axis n_axis(p28,p27,0xD0,0x18);
+DigitalOut EN(p26);
 
 int main()
 {
+    EN = 1; // EN pin : high
     pc.baud(9600);
     float ax,ay,az;
     pc.printf("Accel Sensor Mode\r\n");