12 void setup()
override;
22 bool read_bytes_(uint8_t a_register, uint8_t *data, uint8_t
len, uint32_t conversion = 0);
bool read_bytes_(uint8_t a_register, uint8_t *data, uint8_t len, uint32_t conversion=0)
sensor::Sensor * temperature_sensor_
sensor::Sensor * humidity_sensor_
void set_humidity_sensor(sensor::Sensor *humidity_sensor)
This class simplifies creating components that periodically check a state.
void dump_config() override
float get_setup_priority() const override
Implementation of SPI Controller mode.
void set_temperature_sensor(sensor::Sensor *temperature_sensor)
bool read_data_(uint8_t *data)
Base-class for all sensors.
This Class provides the methods to read/write bytes from/to an i2c device.