TFT_320QVT_9341 Understanding problem

Hello to all,
this is the first time i use a forum to ask something so if i do a mistake (about topic or else) please tell me.
I bought the TFT_320QVT_9341 (Touch screen 3.2"), Arduino mega and one adapter shield because i want lear how to use this touch screen.
I downloaded the TFT_HX8357 Library and try to draw some shape or text on the display and it works good.
NOW THE PROBLEM IS that i would like learn other function E.G. "On - Off with a led and other think..." but i didn't find tutorial or list of command about my display.
So please send me link about tutorial or list of command about my display because i spent time and cash for this component and i would lear something..
THANKS FOR ALL THE REPLY.

This link might help, in that tutorial the UTFT library isused.

Use this lines to init:

//==== Creating Objects
UTFT myGLCD(ILI9341_16,38,39,40,41);
URTouch myTouch( 6, 5, 4, 3, 2);

Don't forget to download UTFT and URTouch libraries. If you have successfully calibrated your screen then let me know, because I also have some difficulties with touch :wink:

See also this link, which indicates the TFT driver on the display is a SSD1289 rather than an ILI9341 which the screen part number might suggest.

The clue is printed on the pcb:
TFT_320QVT_9341 implies an ILI9341_16
TFT_320QVT implies a SSD1289

Whichever controller is mounted, you still need to buy the appropriate 40-pin adapter shield. (for Mega or Due)

Any attempt to use 5V logic without 3.3V level shifting will end in tears.

David.

Thank for all the reply,
Luckly i resolved the problem thanks to this page --> http://www.rmach.it/archives/417#comment-152
The page is in italian (because i am italian) but don't worry bacause i translate for you.
follow me step by step:

1)You must download the "MODIFIED " UTFT Library and NOT the original. Instead for the URTouch library it's ok the original. The download for the modified library is this--> http://www.mediafire.com/file/8tyi1ca72x1dmbn/UTFT.rar

  1. After you have download the two library(URTouch and modified UTFT) you MUST delete from the arduino library folder the UTFT Official library.

3)After go to Arduino > UTouch_Calibration (in the examples).

4)After include in the code the two library(URTouch and modified UTFT), you must replace UTFT myGLCD(ITDB32S,38,39,40,41); with UTFT myGLCD(ILI9341_16,38,39,40,41);.

  1. Load the code on the arduino mega and try to follow the instructions (that consist in touch some zone on the screen). Note that when you touch the screen, it doesn't work but don't worry. You must only disconnect arduino from USB and re-connect it and the touch will work.

  2. AT the end of the test you will see some value like:
    CAL_X 0x004ECE6CUL
    CAL_Y 0x03A4C177UL
    CAL_S 0x000EF13FUL

Go to Arduino \libraries\UTouch\UTouchCD.h and modification the 3 line replace this sort of value with the value that will be print at the end of the test on the TOUCH SCREEN.
Save the file and enjoy.

Ah Ha!

Unplug USB and plug back in! Now the touch works. I've been struggling with this for days.

Why don't the guys on YouTube have to do this? No matter, I'm off and running now!

Thanks a whole bunch! :slight_smile: