That's how it works. This is my setup myTouch(6,5,4,3,2); . Top calibrate the screen example Utouch .
// Copyright (C)2015 Rinky-Dink Electronics, Henning Karlsen. All right reserved
// web: http://www.RinkyDinkElectronics.com/
// This program can be used to calibrate the touchscreen
// of the display modules.
// This program requires the UTFT library and a touch
// screen module that is compatible with UTFT.
// It is assumed that the display module is connected to an
// appropriate shield or that you know how to change the pin
// numbers in the setup.
// Instructions will be given on the display.
And the most important. After downloading the program for me I have to reboot the system by disconnecting the USB cable. During calibration, follow the instructions on the screen.
This is my first time trying a TFT display. I have the same problem as luxxtek above. If I use ILI9327, everything is shifted to the left. I also replaced the source file with what turla2 posted. I must be missing something, as the display is still shifted to the left using ILI9327. What control chip should I be using with turla2 source code? I'm a bit lost on this one -
Thank you very much.
Can you explain what you changed to the UTFT.cpp?
I got my display to work based on what you did. However, I can't seem to fix my screen being shifted to the left. I downloaded the .cpp file. I put it in the folder at C:/Arduino/libraries/UTFT. I replaced the existing file with it. I saved the sketch and shut down the program. I restarted it and reuploaded the sketch, but it is still shifted. Was the file supposed to go somewhere else?
#turla2 thanks for your shared file UTFT.cpp, It works.
I wrong way to copy to the path, it have the path in :
C:\Program Files (x86)\Arduino\libraries\TFT\UTFT