mirror of
https://github.com/justcallmekoko/ESP32Marauder.git
synced 2025-12-05 20:40:25 -08:00
24 lines
409 B
C++
24 lines
409 B
C++
#ifndef GpsInterface_h
|
|
#define GpsInterface_h
|
|
|
|
#include <MicroNMEA.h>
|
|
|
|
class GpsInterface {
|
|
public:
|
|
void begin();
|
|
void main();
|
|
|
|
String getNumSatsString();
|
|
bool getFixStatus();
|
|
bool getGpsModuleStatus();
|
|
|
|
private:
|
|
bool gps_enabled = false;
|
|
bool good_fix = false;
|
|
uint8_t num_sats = 0;
|
|
//MicroNMEA nmea(nmeaBuffer, sizeof(nmeaBuffer));
|
|
|
|
void showGPSInfo();
|
|
};
|
|
|
|
#endif |