THIS IS VALID ONLY FOR LCD SOLD BY OUR STORE HOWEVER IT MIGHT WORK WITH ANOTHER LCD as well Depending DISPLAY IC USED(LCD DRIVER) in TFT
If You Bough it Recently from after 30-July-2017, DownLoad Library from HERE
If You Bough it Recently from till 30-July-2017, DownLoad Library from HERE
Unzip the library folder and extract below three folder into arduino library folder.
Open Arduino IDE , Go to File-> Examples -> SWIFT
a) open graphicstest for Graphics display on TFT
Other Tye Available in Market: Try below Libraries:
TFT LCD SPFD5408 library With Arduino Uno and Mega click HERE
Type1: if it is marked on back side of tft as mcufried or ili9341 / ili9340 so follow below else scroll down and see Type 2:
This is 2.4" color TFT LCD, and a touch panel and has a microSD card slot,. It has some writing on the bottom "www.mcufriend.com" and sometime only 2.4" TFT LCD.
This LCD can be used with Atemga328 UNO R3 and ATMEGA 2560 based Uno R3 Arduino Board .
WARNING: The USB B-type port on the Arduino Uno R3 is taller then the headers on the board. As a result, many shields, including this one can contact the metal shielding of the USB port, causing damage. The simplest way to avoid this is to place a piece of electrical tape, or Kapton tape, on top of the USB port to insulate it.
DownLoad Library for mcufriend (ili9341) from HERE
Type2: if it is marked on back side of tft as Kedei so follow below:
Kedei does not work on Arduino Mega, it works only on Atemga328 UNO R3 and clones.
DownLoad Kedei Library from HERE
Important Note for Kedei:
Used only for Arduino Uno R3 ( ATMEGA 328) based board does not work for another version Like mega, due etc..
Download library zip file(LCDTFT.zip) from above link , extract it(LCDTFT) and put in library folder
GO to Arduino IDE and use Exapmles from LCDTFT
Other Shield Information:
Arduino Pin Connections
|Arduino Pin||LCD Shield Pin||Use|
|A1||LCD_WR TOUCH_YP||LCD Control / Touch Data|
|A2||LCD_RS TOUCH_XM||LCD Control / Touch Data|
|D6||LCD_D6 / TOUCH XP||LCD Data/ Touch Data|
|D7||LCD_D7 / TOUCH YM||LCD Data / Touch Data|