Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

jul-m/TFTLCD-Touch-Screen-Arduino

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is modified TouchScreen library for TFT LCD Touch Screen Module Board For Arduino, like : http://www.ebay.fr/itm/2-4-inch-TFT-LCD-Touch-Screen-Module-Board-For-Arduino-UNO-NEW-LD-/141859601684?hash=item21077dbd14. It allows to operate the module that A2 and A3 pin shared between the TFT screen and the touch screen, without having to manually switch to pinMode(A2/A3, OUTPUT) after use touch screen for re-enable TFT screen.

The modified library is used in the same way as the base library (see example files). For display library, you can use Adafruit GFX Library and Adafruit TFTLCD-Library (see examples files for the configuration).

Warning ! If you use Arduino Mega board, use digital pins 22 through 29 for TFT digital pin, like :

LCD PIN ARDUINO PIN
LCD_D0 22
LCD_D1 23
LCD_D2 24
LCD_D3 25
LCD_D4 26
LCD_D5 27
LCD_D6 28
LCD_D7 29

Releases

No releases published

Packages

No packages published

Languages

  • C++ 100.0%