adafruit_ft5336
¶
CircuitPython driver for the FT5336 touch screen controller
Author(s): Liz Clark
Implementation Notes¶
Hardware:
Software and Dependencies:
Adafruit CircuitPython firmware for the supported boards: https://circuitpython.org/downloads
Adafruit’s Bus Device library: https://github.com/adafruit/Adafruit_CircuitPython_BusDevice
Adafruit’s Register library: https://github.com/adafruit/Adafruit_CircuitPython_Register
- class adafruit_ft5336.Adafruit_FT5336(i2c, i2c_addr: int = _DEFAULT_ADDR, max_touches: int = 5)¶
Adafruit FT5336 touch screen driver
Initialization over I2C
- Parameters:
- point(point_index: int) Tuple ¶
X, Y and Z value from a specified touch input
- Parameters:
point_index (int) – Touch input to read (0 - max_touches)
- Returns:
X, Y and Z values
- Return type:
Tuple