Skip to content

Bodmer/TFT_Touch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Arduino touch screen library for XPT2046

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published