How to get 2.4" TFT touch screen shield working
Posted: Wed Dec 19, 2018 6:39 pm
If you have bought 2.4 inch 176x220 TFT LCD Display Touch Screen Shield Module for Arduino, you will find the drivers don't work straight away.
The libraries are as follows.
https://github.com/prenticedavid/MCUFRIEND_kbv
Open MCUFRIEND_kbv.cpp and uncomment following line
Just remove starting //. This enabled the ILI9342 controller which is present in this TFT screen.
Library needed for touch pad to work. Download and move to the folder that includes your Arduino libraries. Rename the folder that is in ZIP file to "TouchScreen".
https://github.com/adafruit/Adafruit_TouchScreen
The libraries are as follows.
https://github.com/prenticedavid/MCUFRIEND_kbv
Open MCUFRIEND_kbv.cpp and uncomment following line
Code: Select all
//#define SUPPORT_9342 //costs +114 bytes
Library needed for touch pad to work. Download and move to the folder that includes your Arduino libraries. Rename the folder that is in ZIP file to "TouchScreen".
https://github.com/adafruit/Adafruit_TouchScreen