adafruit_tt21100

Basic driver for TT21100 touchscreen drivers

  • Author(s): Scott Shawcroft

Implementation Notes

Hardware:

Software and Dependencies:

class adafruit_tt21100.TT21100(i2c, address=36, irq_pin=None)

A driver for the TT21100 capacitive touch sensor.

property touched: int

Returns the number of touches currently detected

property touches: List[dict]

Returns a list of touchpoint dicts, with ‘x’ and ‘y’ containing the touch coordinates, and ‘id’ as the touch # for multitouch tracking