19 void setup()
override;
20 void dump_config()
override;
22 void update()
override;
virtual void setup()
Where the component's initialization should happen.
This class simplifies creating components that periodically check a state.
This Class provides the methods to read/write bytes from/to an i2c device.
bool setup_registers_()
Configure the sensor; false on an I2C failure.