Files
ESP32Marauder/esp32_marauder/GpsInterface.h
Just Call Me Koko 0106081308 Detect GPS module
2023-08-30 15:57:44 -04:00

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