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