35 void setup()
override;
42 uint8_t
crc8_(uint8_t *data, uint8_t
len);
I2CRegister reg(uint8_t a_register)
calls the I2CRegister constructor
void dump_config() override
This class simplifies creating components that periodically check a state.
void set_temperature_sensor(sensor::Sensor *temperature_sensor)
bool convert_(uint8_t *data, float &humidity, float &temperature)
sensor::Sensor * temperature_sensor_
float get_setup_priority() const override
sensor::Sensor * humidity_sensor_
bool reset_register_(uint8_t reg)
Implementation of SPI Controller mode.
void set_humidity_sensor(sensor::Sensor *humidity_sensor)
Base-class for all sensors.
uint8_t crc8_(uint8_t *data, uint8_t len)
This Class provides the methods to read/write bytes from/to an i2c device.