Hello,
I am having an issue with my TFT touch screen on my arduino Mega, i am sorry as i know there are many more threads but i always find that people have different setups to my self.
you will have to forgive me as i am completely new to all of this, but i have a basic understanding.. Very basic
I have a:
Arduino Mega 2560 R3
Elec freaks V2.2 Sheild
TFT_320QVT_9341
I was having issues to begin with regarding a white screen, i changed the parameters on the setup and now i have a display!! but now i have an inverted Axis, im sure that my issue is somewhere to do with the parameters not being correct, can anyone shed any light on this please??
i can attach pictures if needed!!
i have test ran a program from the UTFT Library which is "text rotation" and my number "150" looks like 120
Any help would be greatly appreciated
The official UTFT library does not support the ILI9341 in 16-bit parallel.
TFTLCDCyg has posted a modified library in this message
I suggest that you try it for yourself. And hope that the next official release of UTFT supports your display.
David.
Thanks very much David, I'll try that when I get chance and let you know if it works
I dont suppose you might also be able to point me in the right direction of a Touch Library that works for my screen also please?? UTouch doesnt seem to be working with an example i have uploaded
As far as I know, your 40-pin display, the Elecfreaks adapter shield and the UTouch examples will default to the correct pins for your XPT2046 Touch controller.
So I would guess that you just need to specify the UTFT constructor for your ILI9341_16 model and the UTouch examples will work.
If you discover that your Shield maps the XPT2046 pins differently, you need to change the UTouch constructor accordingly.
Although TFTLCDCyg shows a horrific photo of hand-wiring his display, I bet that he uses an Adapter Shield in real life. And he probably uses the same one as you.
David.
Thank you David, i didnt reply as i was working on getting it working, i found an example that works and have adapted it and changed it until i have what i was after
Thank You!!