13 void setup()
override;
This Class provides the methods to read/write bytes from/to an i2c device.
void set_threshold(uint8_t threshold)
Set the threshold for the touch detection.
optional< uint16_t > read_axis_(uint8_t cmd)
Read a 12 bit axis value, or nothing when the read fails.
uint8_t threshold_
The threshold at which a touch is registered.
void dump_config() override
void update_touches() override