mirror of
https://github.com/alexhopeoconnor/firmware.git
synced 2026-10-17 17:11:30 +10: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();
|
|
};
|