Updated version with new commands and sleep mode

Fork of GPS by Sam Clarke

Revision:
8:2476bea153a1
Parent:
7:7aac669b0075
--- a/GPS.h	Tue Apr 07 03:49:28 2015 +0000
+++ b/GPS.h	Mon Apr 27 16:49:11 2015 +0000
@@ -56,14 +56,19 @@
     float kph;
     
     //added by Ryan
+    Serial _UltimateGps;
     int getGPRMC();
     int getGPGSA();
     int getGPGGA();
     void Init();
     void Sleep(int sleep);
     void coldStart();
+    bool getData();
     char mode;          //manual or automatic
     int status;         //same as fixtype
+    int NEMACount;
+    int sentenceCount;
+    int recordFlag;
     float PDOP;         //Position Dilution of Precision
     float HDOP;         //Horizontal Dilution of Precision
     float VDOP;         //Vertical Dilution of Precision
@@ -72,8 +77,8 @@
 private:
 
     float trunc ( float v);
-    void getData();
-    Serial _UltimateGps;
+    //void getData();
+    //Serial _UltimateGps;
     char NEMA[256];
 };
 #endif