I am trying to use a 3.2 inch Touch TFT Display on a Mega 2560. I have purchased a Shield from Amazon which states it is for a mega. The display is a ILI9341 3.2 inch TFT Display Module LCD Screen 320x240 Resistive Touch Panel. I have spent hours trying different tutorials and different sketch's, but all I get is a white screen. I believe I am using the correct libraries so something else is not right. I suspect it may be that the shield is not correct as have been stated in other conversations. I don't know how to determine if it is the correct on one for that display. When I look at other shields they do not seem to give enough information regarding the pin-out. I guess my question is how to determine which one is correct? I am fairly new but have developed other Arduino sketches' but nothing this complicated. Can anyone clue me in on how to take care of this problem?
Without a link to the shield, a link to the library & the code you are using! What do you recon?
Thanks for your response.
Here is the link to the display I am using: Amazon.com: ILI9341 3.2 inch TFT Display Module LCD Screen 320x240 Resistive Touch Panel with SD Card Slot for Arduino: Computers & Accessories
Here is the link for the shield: 3.2 Inch TFT LCD Shield Expansion Board for Arduino Mega 2560: Amazon.com: Industrial & Scientific
The libraries are UTFT.h and URTouch.h
The link to the sketch that is am trying to use as a learning tool so I understand the functions of the touch TFT Display is : Arduino TFT LCD Touch Screen Tutorial (howtomechatronics.com)
I hope that gives you the information you ask for.
Did you adjust the parameters for UTFT objects to your own devices in the sketch ?
I believe that I set them correctly but since i am fairly new at this, maybe they are not correct. Here is what I have UTFT set at, but I am not positive and I can't find any way to know if this is correct.
UTFT myGLCD(SSD1289,38,39,40,41); //Parameters should be adjusted to your Display/Shield model
URTouch myTouch(6, 5, 4, 3, 2);
If pins references seems to be valid, for sure DisplayModel is not the good one.
You should read the documentation wich is in the UTFT archive.
Especially UTFT_Supported_display_modules_&_controllers.pdf to identify your specific Model.
UTFT myGLCD(SSD1289,38,39,40,41); //Parameters should be adjusted to your Display/Shield model
you should use :
UTFT myGLCD(ILI9341_16,38,39,40,41);
David.
I believe I tried that but it still didn't work. But I will try the and see if it makes any difference
Well that fixed it as I now have information displayed on the screen. Now I can see if I can change the data it displays. Thank you David
This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.