local fork of tinygps for tugboat project
Fork of TinyGPS by
Diff: TinyGPS.h
- Revision:
- 3:1b16102f7b18
- Parent:
- 2:a3dad2769ed7
--- a/TinyGPS.h Wed Jul 31 15:35:02 2013 +0000 +++ b/TinyGPS.h Wed Sep 18 20:26:01 2013 +0000 @@ -152,10 +152,16 @@ if (hundredths) *hundredths = time % 100; } - /** returns altitude as a float + /** returns time as a unsigned long + */ + inline unsigned long ul_time() { return _time; } + /** returns date as a unsigned long + */ + inline unsigned long ul_date() { return _date; } + /** returns lat as a float */ inline double f_lat() { return _latitude / 100000.0; } - /** returns altitude as a float + /** returns lon as a float */ inline double f_lon() { return _longitude / 100000.0; } /** returns altitude as a float