7#include <TinyGPSPlus.h>
30 SUB_SENSOR(satellites)
34#ifdef GPS_LISTENER_COUNT
42 void dump_config()
override;
44 void update()
override;
46 TinyGPSPlus &get_tiny_gps() {
return this->
tiny_gps_; }
59#ifdef GPS_LISTENER_COUNT
This class simplifies creating components that periodically check a state.
Minimal static vector - saves memory by avoiding std::vector overhead.
StaticVector< GPSListener *, GPS_LISTENER_COUNT > listeners_
TinyGPSPlus & get_tiny_gps()
virtual void on_update(TinyGPSPlus &tiny_gps)=0
constexpr float HARDWARE
For components that deal with hardware and are very important like GPIO switch.