NMEA GPS receiver Bug fixes
Fork of lib_gps by
Diff: gps.h
- Revision:
- 2:b531881123bf
- Parent:
- 1:2f5fbb33ae8b
- Child:
- 3:03d7275dc4fd
--- a/gps.h Fri Mar 27 00:41:33 2015 +0000 +++ b/gps.h Fri May 08 01:39:02 2015 +0000 @@ -37,7 +37,7 @@ class GPS { public: - GPS(); + GPS(PinName uart_tx, PinName uart_rx, PinName en); ~GPS(); void enable(bool); bool enabled(void); @@ -61,7 +61,10 @@ char rx_bufs[NUM_RX_BUFS][RX_BUF_SIZE]; void ConvertPositionFromStringToNumerical( ); void ConvertPositionIntoBinary( ); - void pps(void); - bool pps_occurred; + /*void pps(void); + bool pps_occurred;*/ + + Serial m_uart; + DigitalOut m_en_pin; };