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