Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed BufferedSerial Servo2 PCT2075 I2CEeprom FastPWM
Diff: gps_mod.cpp
- Revision:
- 4:28cc0cf01570
- Parent:
- 3:43cb067ecd00
diff -r 43cb067ecd00 -r 28cc0cf01570 gps_mod.cpp
--- a/gps_mod.cpp Mon Jul 27 08:44:59 2020 +0000
+++ b/gps_mod.cpp Fri Aug 07 13:06:03 2020 +0000
@@ -1,6 +1,6 @@
#include "mbed.h"
-#ifdef GPS_
+//#ifdef GPS_
#include "mbed.h"
#include "gps_mod.h"
@@ -236,6 +236,7 @@
sprintf (datestr, "%d %s 20%d", date, &month_tab[month], strtol(&destptr[comma_positions[7] + 5], NULL, 10));
break;
case 5: // VTG ,T , ,M,0.098,N,0.181,K,A*2A course over ground and ground speed
+ //Adafruit $GPVTG,165.48,T,,M,0.03,N,0.06,K,A*37
//$ GPVTG 309.62,T , ,M,0.13, N,0.2, K*6E
sprintf (speed_mphourstr, "%.1fmph", km2miles * strtod(destptr + comma_positions[5] + 1, NULL));
newdata = true;
@@ -262,4 +263,4 @@
return 0;
} // end of int gps_mod::update()
-#endif
+//#endif