Helper class to request loop() to be called as fast as possible.
This class simplifies creating components that periodically check a state.
void set_source(voltage_sampler::VoltageSampler *source)
float get_setup_priority() const override
voltage_sampler::VoltageSampler * source_
The sampling source to read values from.
float sample_squared_sum_
float last_value_
The DC offset of the circuit.
uint32_t sample_duration_
Duration in ms of the sampling phase.
void dump_config() override
HighFrequencyLoopRequester high_freq_
High Frequency loop() requester used during sampling phase.
void set_sample_duration(uint32_t sample_duration)
Base-class for all sensors.
Abstract interface for components to request voltage (usually ADC readings)
const float DATA
For components that import data from directly connected sensors like DHT.
Providing packet encoding functions for exchanging data with a remote host.