void set_resistor(float resistor)
ResistanceConfiguration configuration_
void set_configuration(ResistanceConfiguration configuration)
void set_reference_voltage(float reference_voltage)
void process_(float value)
void set_sensor(Sensor *sensor)
void dump_config() override
Base-class for all sensors.
void add_on_state_callback(std::function< void(float)> &&callback)
Add a callback that will be called every time a filtered value arrives.
float state
This member variable stores the last state that has passed through all filters.
Providing packet encoding functions for exchanging data with a remote host.