19 this->firmware_len_ =
len;
26 void setup()
override;
36 void load_firmware_();
40 bool write_reg_(uint8_t
reg,
const uint8_t *data,
size_t len);
41 bool write_reg8_(uint8_t
reg, uint8_t
val);
46 const uint8_t *firmware_{
nullptr};
47 size_t firmware_len_{0};
void dump_config() override
void update_touches() override
void set_reset_pin(GPIOPin *pin)
void set_firmware(const uint8_t *fw, size_t len)
Supply the firmware table (generated by codegen from the YAML)
void set_interrupt_pin(InternalGPIOPin *pin)
This Class provides the methods to read/write bytes from/to an i2c device.
I2CRegister reg(uint8_t a_register)
calls the I2CRegister constructor