gt911¶
CircuitPython Driver for Goodix GT911-based touch screens
Author(s): ladyada, retiredwizard, Robert Grizzell
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 gt911.GT911(i2c: busio.I2C, i2c_address: int = None, rst_pin: digitalio.DigitalInOut = None, int_pin: digitalio.DigitalInOut = None, int_high: bool = False)¶
A driver for the GT911 capacitive touch sensor.
- Parameters:
i2c (I2C) – The object representing the I2C interface used to communicate with the touchscreen.
i2c_address (int) – The I2C address of the GT911 device. This is optional, but can be useful for devices lacking RST or INT pin control.
rst_pin (DigitalInOut) – The object representing the RESET pin.
int_pin (DigitalInOut) – The object representing the INTERRUPT/IRQ pin.