12static const char *
const TAG =
"chsc6x.touchscreen";
14static const uint8_t CHSC6X_REG_STATUS = 0x00;
15static const uint8_t CHSC6X_REG_STATUS_TOUCH = 0x00;
16static const uint8_t CHSC6X_REG_STATUS_X_COR = 0x02;
17static const uint8_t CHSC6X_REG_STATUS_Y_COR = 0x04;
18static const uint8_t CHSC6X_REG_STATUS_LEN = 0x05;
19static const uint8_t CHSC6X_CHIP_ID = 0x2e;
23 void setup()
override;
InternalGPIOPin * interrupt_pin_
void set_interrupt_pin(InternalGPIOPin *pin)
void update_touches() override
void dump_config() override
This Class provides the methods to read/write bytes from/to an i2c device.
Providing packet encoding functions for exchanging data with a remote host.