Example code for reading from a serial GPS unit & parsing an RMC GPS string to a struct.
Fork of mbed_blinky by
Revision 17:15322357429b, committed 2017-03-09
- 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() {