code

Dependencies:   C12832_lcd CMPS03 FatFileSystemCpp GPS MMA7660 mbed

Fork of CompleteMbed by Group 14

Revision:
8:32bb67e3eb06
Parent:
7:2f5cc7f14269
--- a/main.cpp	Wed May 07 10:44:45 2014 +0000
+++ b/main.cpp	Tue Mar 21 14:17:48 2017 +0000
@@ -74,9 +74,9 @@
         // GPS code
             if(gps.sample()) 
             {
-                fprintf(GPSFile, "\n%f %f\r\n", gps.latitude, gps.longitude);
+                fprintf(GPSFile, "\n%f     %f\r\n     \n%i", gps.latitude, gps.longitude, gps.stime);
                 lcd.locate(1,1);
-                lcd.printf("GPS: %.4f %.4f", gps.latitude, gps.longitude);
+                lcd.printf("GPS: %.4f %.4f %i", gps.latitude, gps.longitude, gps.stime);
             } 
             else 
             {
@@ -113,4 +113,4 @@
             fclose(GPSFile);  
         }        
     } 
-}
\ No newline at end of file
+}