Lab4

Dependencies:   mbed HeptaBattery SDFileSystem HeptaCamera_GPS

Revision:
17:a1d046102f3b
Parent:
16:788e609bf0a3
Child:
18:8b600cd66ec5
--- a/main.cpp	Sat Aug 17 09:00:44 2019 +0000
+++ b/main.cpp	Mon Aug 19 05:44:09 2019 +0000
@@ -1,14 +1,15 @@
 #include "mbed.h"
+#include "HeptaBattery.h"
 #include "SDFileSystem.h"
 #include "HeptaCamera_GPS.h"
 
 Serial pc(USBTX,USBRX);
+HeptaBattery battery(p19,p26);
 SDFileSystem sd(p5, p6, p7, p8, "sd");
 HeptaCamera_GPS cam_gps(p13, p14,p25,p24);
 DigitalOut EN(p26);
 int main()
 {
-    EN = 1; // EN pin : high
     cam_gps.gps_setting();
     pc.printf("GPS Raw Data Mode\r\n");
     while(1) pc.putc(cam_gps.getc());