12 static const char *
const TAG =
"chsc6x.touchscreen";
14 static const uint8_t CHSC6X_REG_STATUS = 0x00;
15 static const uint8_t CHSC6X_REG_STATUS_TOUCH = 0x00;
16 static const uint8_t CHSC6X_REG_STATUS_X_COR = 0x02;
17 static const uint8_t CHSC6X_REG_STATUS_Y_COR = 0x04;
18 static const uint8_t CHSC6X_REG_STATUS_LEN = 0x05;
19 static const uint8_t CHSC6X_CHIP_ID = 0x2e;
23 void setup()
override;
InternalGPIOPin * interrupt_pin_
void dump_config() override
void set_interrupt_pin(InternalGPIOPin *pin)
void update_touches() override
Implementation of SPI Controller mode.
This Class provides the methods to read/write bytes from/to an i2c device.