13 public spi::SPIDevice<spi::BIT_ORDER_MSB_FIRST, spi::CLOCK_POLARITY_LOW, spi::CLOCK_PHASE_LEADING,
14 spi::DATA_RATE_75KHZ> {
19 void setup()
override;
32 void setup()
override;
33 void update()
override;
36 float sample()
override;
void dump_config() override
float get_setup_priority() const override
Abstract interface for components to request voltage (usually ADC readings)
This class simplifies creating components that periodically check a state.
float read_data(uint8_t pin)
void set_reference_voltage(float reference_voltage)
Base-class for all sensors.