LCD 2.4 "TFT ARDUINO UNO





We can use this module to display on the touch screen screen, the way is plug in arduino uno, according to its position. It's positioned so exactly with the hole in the arduino uno

Then download the SPFD5408 library

After that run the existing examples, can calibrate, test paint etc.

But there is a need to change if not working

How:

In the define section change to:

#define YP A3
#define XM A2
#define YM 9
#define XP 8

Then go to Document-> Arduino-> Libraries-> SPFD5408. On touchscreen.cpp search return TSPoint (1023-x, 1023-y, z)
Change to:
Return TSPoint (1100-x, 1043-y, z)


It will work as it should

Comments

Post a Comment