Split out separate functions to parse fragments of sentences for time, lat, lon, fix. No functional changes. Reduces repetition and makes parsing process more readable. Will make adding new sentences less cumbersome. The difference tracking gets a little wonky stretching across function boundaries. Added timeSinceFix() to return seconds since a valid fix was received. Modified $GPGGA parsing to also set fix = true/false based on quality. Added more output sentences to Adafruit_GPS.h to facilittate testing with different sentences. |
||
|---|---|---|
| .github | ||
| examples | ||
| .travis.yml | ||
| Adafruit_GPS.cpp | ||
| Adafruit_GPS.h | ||
| README.md | ||
| code-of-conduct.md | ||
| library.properties | ||
| license.txt | ||
README.md
Adafruit_GPS 
This is the Adafruit GPS library - the ultimate GPS library for the ultimate GPS module!
Tested and works great with the Adafruit Ultimate GPS module using MTK33x9 chipset ------> http://www.adafruit.com/products/746
These modules use TTL serial to communicate, 2 pins are required to
interface.
Adafruit invests time and resources providing this open source code, please support Adafruit and open-source hardware by purchasing products from Adafruit!
Written by Limor Fried/Ladyada for Adafruit Industries.
BSD license, check license.txt for more information
All text above must be included in any redistribution
To install, use the Arduino Library Manager to search for 'Adafruit GPS' and install the library.