nmea gps library - without any serial
Dependents: HARP2 HARP3 20180621_FT813
Fork of GPS_parser by
NMEA GPS Serial Output parser.
Routine taken from NMEA Software Standard (NMEA 0183) http://www.winsystems.com/software/nmea.pdf
Only handles GGA and RMC Messages
Diff: GPS_parser.h
- Revision:
- 6:4ed12067a314
- Parent:
- 5:94daced1e61a
- Child:
- 7:01a8379370e4
--- a/GPS_parser.h Wed Dec 12 17:32:31 2012 +0000 +++ b/GPS_parser.h Wed Dec 12 17:53:50 2012 +0000 @@ -23,6 +23,9 @@ * @return 1 if there was a lock when the sample was taken (and therefore .longitude and .latitude are valid), else 0 */ int sample(char *); + int get_lock() { return lock; } + int get_date() { return date; } + float get_time() { return utc_time; } float get_nmea_longitude(); float get_nmea_latitude(); float get_dec_longitude();