XPT2046
|
The required touch screen interface pins are:
|
|
The touch controller’s ADC is driven by the SPI clock line. As a result, reading touch data requires a modified, slower, software-based SPI implementation. TFT Graphic Library 2 handles this automatically, switching between normal hardware SPI and the software SPI used for touch input as needed.
However, for optimal performance and simpler configuration, it is recommended to use separate SPI pins for the touch controller, rather than sharing the main SPI lines used by the TFT or other peripherals.
Currently the only available communication mode for touch screens is Software SPI:
|
$define TOUCH_COM SPI_SW |
Created with the Personal Edition of HelpNDoc: Streamline Your CHM Help File Creation with HelpNDoc