GPS NEMA String parser library. Only supports SkyTraq Venus chip at this time.

Dependents:   MTDOT-EVB-LinkCheck-AL MTDOT-BOX-EVB-Factory-Firmware-LIB-108 TelitSensorToCloud mDot_sensor_to_cloud ... more

Revision:
6:2050b4795b66
Parent:
5:11f41dee386b
Child:
7:bd1013ba8afd
--- a/GPSPARSER.h	Mon Nov 09 12:36:04 2015 -0600
+++ b/GPSPARSER.h	Fri Dec 04 16:40:41 2015 -0600
@@ -29,6 +29,7 @@
 #include "mbed.h"
 #include "rtos.h"
 #include "MTSSerial.h"
+#include "NCP5623B.h"
 #include <string>
 #include <vector>
 #include <ctime>
@@ -68,8 +69,9 @@
 
     /** Create the GPSPARSER object
      *  @param uart - an MTSSerial object
+     *  @param led - an NCP5623B led controller object
      */ 
-    GPSPARSER(MTSSerial *uart);
+    GPSPARSER(MTSSerial *uart, NCP5623B* led = NULL);
 
     /** destroy the GPSPARSER object
      */ 
@@ -149,6 +151,9 @@
     
     MTSSerial *_gps_uart;
     Thread _getSentenceThread;
+    NCP5623B* _led;
+    int8_t _led_state;
+    Timer _led_timer;
     
     /** Detect and initialize GPS device
      *  @return status of initialization