18 void setup()
override;
sensor::Sensor * temperature_
void setup() override
Setup the sensor and test for a connection.
void set_pressure(sensor::Sensor *pressure)
CalibrationData calibration_
This class simplifies creating components that periodically check a state.
void update() override
Schedule temperature+pressure readings.
sensor::Sensor * pressure_
void dump_config() override
BedjetMode mode
BedJet operating mode.
void set_temperature(sensor::Sensor *temperature)
bool set_mode_(uint8_t mode)
float get_setup_priority() const override
Implementation of SPI Controller mode.
Base-class for all sensors.
void read_pressure_()
Internal method to read the pressure from the component after it has been scheduled.
This Class provides the methods to read/write bytes from/to an i2c device.
void read_temperature_()
Internal method to read the temperature from the component after it has been scheduled.