17 using namespace touchscreen;
19 static const uint8_t FT6X36_DEFAULT_THRESHOLD = 22;
23 void setup()
override;
24 void dump_config()
override;
32 void update_touches()
override;
36 uint8_t threshold_{FT6X36_DEFAULT_THRESHOLD};
38 uint8_t read_touch_number_();
40 uint16_t read_touch_x_(uint8_t touch);
41 uint16_t read_touch_y_(uint8_t touch);
42 uint8_t read_touch_event_(uint8_t touch);
43 uint8_t read_touch_id_(uint8_t touch);
44 uint8_t read_touch_weight_(uint8_t touch);
45 uint8_t read_touch_misc_(uint8_t touch);
47 uint8_t read_byte_(uint8_t addr);
void set_threshold(uint8_t threshold)
Implementation of SPI Controller mode.
void set_interrupt_pin(InternalGPIOPin *pin)
This Class provides the methods to read/write bytes from/to an i2c device.
void set_reset_pin(GPIOPin *pin)