14 void setup()
override;
15 void dump_config()
override;
16 void update()
override;
virtual void setup()
Where the component's initialization should happen.
This class simplifies creating components that periodically check a state.
bool read_bytes_(uint8_t a_register, uint8_t *data, uint8_t len, uint32_t conversion=0)
bool read_data_(uint8_t *data)
This Class provides the methods to read/write bytes from/to an i2c device.