19 void setup()
override;
void dump_config() override
i2c::ErrorCode read_(uint8_t &status, uint16_t &raw_temperature, uint16_t &raw_pressure)
This class simplifies creating components that periodically check a state.
float get_setup_priority() const override
This class implements support for the tem3200 pressure and temperature i2c sensors.
sensor::Sensor * temperature_sensor_
void set_raw_pressure_sensor(sensor::Sensor *raw_pressure_sensor)
Implementation of SPI Controller mode.
void set_temperature_sensor(sensor::Sensor *temperature_sensor)
ErrorCode
Error codes returned by I2CBus and I2CDevice methods.
Base-class for all sensors.
sensor::Sensor * raw_pressure_sensor_
This Class provides the methods to read/write bytes from/to an i2c device.