Example code for reading from a serial GPS unit & parsing an RMC GPS string to a struct.

Dependencies:   mbed

Fork of mbed_blinky by Mbed

Files at this revision

API Documentation at this revision

Comitter:
HackerLabATTKit01
Date:
Thu Mar 09 21:44:58 2017 +0000
Parent:
16:1bf12f0bb4b9
Child:
18:7ba014531492
Commit message:
Cleaned up some unneeded variables

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Thu Mar 09 21:21:17 2017 +0000
+++ b/main.cpp	Thu Mar 09 21:44:58 2017 +0000
@@ -8,7 +8,6 @@
 
 unsigned gpsSentenceIndex = 0;
 char gpsSentence[GPSBUFFSIZE];
-volatile bool newline_detected = false;
 GPRMCSentence lastPosition;
 
 void clearGpsSentence() {