Final version of GPS library. Still may require some debugging regarding integer formatting, but it will be easiest to do this from an external program that is grabbing the values (the time and lat/long values in particular should be tested).

Revision:
1:868c31bace68
Parent:
0:8d2eedbb4c6f
--- a/GPS.cpp	Sat Oct 17 23:10:59 2015 +0000
+++ b/GPS.cpp	Sat Oct 17 23:12:26 2015 +0000
@@ -133,8 +133,6 @@
     {
         move(buffer, dat, ',');
         t = strtod(dat, NULL);
-        pc.printf(dat);
-        pc.putc(':');
         if(firstTime)
         {
             firstTime = false;
@@ -164,8 +162,6 @@
         {
             data[1] *= -1;
         }
-        pc.printf(dat);
-        pc.putc(',');
         
         index++;
         
@@ -186,7 +182,6 @@
         {
             data[1] *= -1;
         }
-        pc.printf(dat);
         index++;
         
         // quality
@@ -206,8 +201,6 @@
         // altitude
         move(buffer, dat, ',');
         data[4] = (int32_t)(atof(dat) * 10);
-        
-        pc.printf("\r\n");
     }
     else if(strcmp(dat, "GPVTG") == 0) // Is it VTG?
     {