GPS精度実験

Dependents:   GPSLOG_program

Fork of MBed_Adafruit-GPS-Library by aigamozu

Revision:
6:7b7e9dc49edd
Parent:
5:ce26d53dc358
Child:
7:3f389529228e
diff -r ce26d53dc358 -r 7b7e9dc49edd MBed_Adafruit_GPS.cpp
--- a/MBed_Adafruit_GPS.cpp	Tue Aug 09 13:04:23 2016 +0000
+++ b/MBed_Adafruit_GPS.cpp	Wed Sep 14 11:01:52 2016 +0000
@@ -50,6 +50,7 @@
     // found GSA
     char *p = nmea;
     GPGSAdata = nmea;
+        printf("%s",nmea);
     
     return true;
   }
@@ -59,6 +60,7 @@
     // found GGA
     char *p = nmea;
     GPGGAdata = nmea;
+        printf("%s",nmea);
     // get time
     p = strchr(p, ',')+1;
     float timef = atof(p);
@@ -134,7 +136,7 @@
    // found RMC
     char *p = nmea;
     this->GPRMCdata = nmea;
-    //printf("B%s",this->GPRMCdata);
+    printf("%s",nmea);
     // get time
     p = strchr(p, ',')+1;
     float timef = atof(p);