mirror of
https://github.com/meshtastic/firmware.git
synced 2025-02-04 11:49:58 +00:00
20 lines
382 B
C
20 lines
382 B
C
|
#pragma once
|
||
|
|
||
|
#include "GPS.h"
|
||
|
#include "Observer.h"
|
||
|
#include "PeriodicTask.h"
|
||
|
#include "TinyGPS++.h"
|
||
|
|
||
|
/**
|
||
|
* A gps class thatreads from a NEMA GPS stream (and FIXME - eventually keeps the gps powered down except when reading)
|
||
|
*
|
||
|
* When new data is available it will notify observers.
|
||
|
*/
|
||
|
class NEMAGPS : public GPS
|
||
|
{
|
||
|
TinyGPSPlus reader;
|
||
|
|
||
|
public:
|
||
|
virtual void loop();
|
||
|
};
|