Arduino touch screen library for XPT2046
Switch branches/tags
Nothing to show
Clone or download
Bodmer Rewrite
Update to allow any touch screen orientation
Correct bugs in calibration
Latest commit b553ed6 Dec 15, 2015
Permalink
Failed to load latest commit information.
Examples Rewrite Dec 15, 2015
Calibration.h Rewrite Dec 15, 2015
README.md Rewrite Dec 15, 2015
TFT_Touch.cpp Rewrite Dec 15, 2015
TFT_Touch.h Rewrite Dec 15, 2015
keywords.txt Rewrite Dec 15, 2015
library.properties Rewrite Dec 15, 2015

README.md

TFT_Touch

Arduino touch screen library for XPT2046

This library has been tested on a 2.4" TFT screen that uses the ILI9341 display driver and XPT2046 touch controller.

These displays are available at low cost on eBay and AliExpress.

The library includes three sketches:

* TFT_Touch_Calibrate_v2: to calibrate and test the screen
* TFT_Touch_Draw_2-4    : a simple paint program
* TFT_Touch_Raw         : a touch screen test sketch (Serial Monitor output only)

To make things really easy the calibration sketch reports the setup() calibration code to use in your sketch via a serial port message.

The library could be used with any graphics library but the examples use this one:

https://github.com/Bodmer/TFT_ILI9341