16 void setup()
override;
void update() override
Retrieve the latest sensor values. This operation takes approximately 16ms.
void dump_config() override
sensor::Sensor * temperature_
sensor::Sensor * humidity_
void setup() override
Setup the sensor and check for connection.
This class simplifies creating components that periodically check a state.
void set_humidity(sensor::Sensor *humidity)
void set_temperature(sensor::Sensor *temperature)
float get_setup_priority() const override
Implementation of SPI Controller mode.
Base-class for all sensors.
This Class provides the methods to read/write bytes from/to an i2c device.