local fork of tinygps for tugboat project

Dependents:   tugboat2

Fork of TinyGPS by brian claus

Files at this revision

API Documentation at this revision

Comitter:
bclaus
Date:
Wed Sep 18 20:26:01 2013 +0000
Parent:
2:a3dad2769ed7
Commit message:
update rate increased to 10HZ for everything but GPS. GPS is still at 1 Hz changed i2c frequency to 1MhZ to accomodate

Changed in this revision

TinyGPS.h Show annotated file Show diff for this revision Revisions of this file
diff -r a3dad2769ed7 -r 1b16102f7b18 TinyGPS.h
--- 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