Initial Publish Leaning GPS/SDCARD

Dependencies:   FileManager GPSGms6 SDFileSystem mbed

Fork of 2545_SD_Card by Craig Evans

Revision:
9:4d0c81290638
Parent:
8:8d26ce37febc
Child:
10:43fc07923c7f
--- a/main.cpp	Mon May 09 10:33:40 2016 +0000
+++ b/main.cpp	Mon May 09 11:38:22 2016 +0000
@@ -28,6 +28,9 @@
     logGPSData( gps.latestGPRMC().date, gps.latestGPRMC().time);
     serial.printf("\r\n#### Restart Timer #####");
     
+    tm t = gps.UTCTime();
+    printf("\r\n UTC Time is %d/%d/%d %d:%d", t.tm_mday , t.tm_mon , t.tm_year , t.tm_hour, t.tm_min);
+    
     time_t seconds = time(NULL);
     printf("\r\nTime as a basic string = %s", ctime(&seconds));
     t1.attach(&t1out,gps_interval);
@@ -37,7 +40,7 @@
 {
     serial.baud(9600);  // full-speed!
     serial.printf("\r\n#### SD Card Initialization #####");
-//    wait(1);
+    wait(1);
 
     ////////////////////// read Setup File  //////////////////////////
     readSetupFile();