17 void setup()
override;
30 void write_(uint8_t reg, uint8_t value);
void dump_config() override
I2CRegister reg(uint8_t a_register)
calls the I2CRegister constructor
void set_mode(MAX44009Mode mode)
float read_illuminance_()
Read the illuminance value.
This class simplifies creating components that periodically check a state.
This class implements support for the MAX44009 Illuminance i2c sensor.
float convert_to_lux_(uint8_t data_high, uint8_t data_low)
BedjetMode mode
BedJet operating mode.
Implementation of SPI Controller mode.
uint8_t read_(uint8_t reg)
float get_setup_priority() const override
Base-class for all sensors.
bool set_low_power_mode()
bool set_continuous_mode()
This Class provides the methods to read/write bytes from/to an i2c device.
void write_(uint8_t reg, uint8_t value)