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.
bool setup_stage_(int stage)
Run one setup stage; false on an I2C failure.
void internal_setup_(int stage)
This Class provides the methods to read/write bytes from/to an i2c device.