9 namespace gp2y1010au0f {
void set_voltage_refs(float offset, float multiplier)
const float DATA
For components that import data from directly connected sensors like DHT.
void set_adc_source(voltage_sampler::VoltageSampler *source)
Abstract interface for components to request voltage (usually ADC readings)
This class simplifies creating components that periodically check a state.
uint32_t sample_duration_
voltage_sampler::VoltageSampler * source_
float get_setup_priority() const override
output::BinaryOutput * led_output_
uint32_t sample_wait_before_
Implementation of SPI Controller mode.
Base-class for all sensors.
void set_led_output(output::BinaryOutput *output)
float voltage_multiplier_
void dump_config() override