Lab4

Dependencies:   mbed HeptaBattery SDFileSystem HeptaCamera_GPS

Revision:
16:788e609bf0a3
Parent:
14:08133ae9bed7
Child:
17:a1d046102f3b
diff -r a34a7df8b27a -r 788e609bf0a3 main.cpp
--- a/main.cpp	Tue Aug 14 10:42:21 2018 +0000
+++ b/main.cpp	Sat Aug 17 09:00:44 2019 +0000
@@ -5,9 +5,10 @@
 Serial pc(USBTX,USBRX);
 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());