Bitbang library for the XPT2046 touch controller.
This library provides a software-based SPI (bitbang) approach to interface with the XPT2046 touch screen controller. It allows for touch detection, calibration, and touch coordinate retrieval.

Author: ddxfish

Maintainer: Ddxfish

Read the documentation


This library is compatible with the esp32, avr architectures so you should be able to use it on the following Arduino boards:

Compatibility Note

Note: while the library is supposed to compile correctly on these architectures, it might require specific hardware features that may be available only on some boards.


To use this library, open the Library Manager in the Arduino IDE and install it from there.