24 void showInfo(
const char* sensorName)
const override;
SensorResult get() const override
FallbackSensor(SensorType outputType, SensorType primarySensor, SensorType fallbackSensor)
void showInfo(const char *sensorName) const override
const SensorType m_primary
const SensorType m_fallback
virtual SensorResult get() const =0
Base class for sensors. Inherit this class to implement a new type of sensor.
expected< float > SensorResult