19 void setup()
override;
This class simplifies creating components that periodically check a state.
This Class provides the methods to read/write bytes from/to an i2c device.
This class implements support for the npi19 pressure and temperature i2c sensors.
void set_temperature_sensor(sensor::Sensor *temperature_sensor)
void set_raw_pressure_sensor(sensor::Sensor *raw_pressure_sensor)
i2c::ErrorCode read_(uint16_t &raw_temperature, uint16_t &raw_pressure)
sensor::Sensor * temperature_sensor_
sensor::Sensor * raw_pressure_sensor_
float get_setup_priority() const override
void dump_config() override
Base-class for all sensors.
ErrorCode
Error codes returned by I2CBus and I2CDevice methods.
Providing packet encoding functions for exchanging data with a remote host.