CTE has released an updated driver, that fixed some of the problems we have been having.Unfortunately the display is still mirrored, although annoying it is a minor inconvenience compared to some of the other problems i was having.

The "UTFT fonts" now display properly using the "UTFT print function" . This has been the main problem I was having. I have only done limited testing, but the results have been good. This means we can format numbers using the " PrintNnumI or the PrintNnumF " statements. It also means we can make our own fonts using the UTFT font converter, or we can do it manually, "kind of a pain". Unfortunately the fonts provided with the displays will still not work with the print statements.

These drivers should work with the mega and other compatible shields, but at this point since I do not have any other shields to test it on I cannot say for sure. If anyone contest these drivers on compatible shields please let us know if they work properly.

At least it's a step in the right direction. Being able to use the standard commands is a big plus.

Note: I have now corrected the mirror issue in these drivers. I simply copied a set of parameters that I knew would display in the correct orientation To the correct location in the " UTFT.cpp " file. In my case, the " SSD1963_800_CTE7 "section at line 2331. These parameters are for the 7" CTE display. So far everything displays and functions correctly.

In my case the parameters were obtained from a set of CTE drivers offered from " ageurtse ", a member of this form, thank you for your assistance.

Joe,thanks for this info. I need to finish a few modifications to my 5" & 7" boards (Font ICs..which Coldtears is sending me with my latest shipment). I have more interest in the 5" version than the 7".. However, I will still be interested in looking at the parameters you are all using in the CPP file for the CTE7. I'm also working with the 3.5 480X320 LCD as well. Daniel Hernandez and I, both here in Guaymas, Sonora, Mexico, are trying to get these LCDs to suit our needs.Peter

Joe,Could you share those updated parameters with us? For the 7" CTE LCD? I have that one, plus the 5".

I've noted even with the new drivers.... you still have to rotate the display 180deg. (in our case the entire DUE as we are using the CTE shield as well.... which means the power connector and usb connectors are on the wrong side of our enclosure.)

I obtained the parameters from this post, " updated library UTFT version 2.1 with a CTE shield " at http://arduino.cc/forum/index.php/topic,158782.0.html. Download the file given, and go to the " tft_drivers "directory. Then go down to the directory that matches the controller for your LCD, open the file that corresponds to your LCD resolution. Compare these parameters to the parameters in the "CTE UTFT" drivers. Change any parameters that do not match.

Note: I believe the 5" and 7" TFT LCDs use the same controllers and should use the same parameters.

This is the best information I can give you. Since I am still learning "C" myself I can only pass on the information that I get. Fortunately others with better skills has posted really good information. And by the way thanks to those who have contributed their knowledge, it has really helped me. Other than that you'll just have to do your homework just like I did.

I'm happy with the results of these new drivers. NO reversing of any kind of any objects (bitmaps, texts, simple primitives, etc...)I've have tested in on the 5" 1963 based board (800X480). Performance seems decent too.

The resolution is correct although still reversed BUT it does not read past 765 of 800 in the X axis or 479 in the Y axis. (Although using the calibration sketch it read to the edge of the touch screen).

Basic functionality of this library are based on the demo-code provided by ITead studio. You can find the latest version of the library at http://www.henningkarlsen.com/electronics

If you make any modifications or improvements to the code, I would appreciate that you share the code with me so that I might include it in the next release. I can be contacted through http://www.henningkarlsen.com/electronics/contact.php

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA*/

Basic functionality of this library are based on the demo-code provided by ITead studio. You can find the latest version of the library at http://www.henningkarlsen.com/electronics

If you make any modifications or improvements to the code, I would appreciate that you share the code with me so that I might include it in the next release. I can be contacted through http://www.henningkarlsen.com/electronics/contact.php

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA*/

// UTouch_ButtonTest (C)2010-2012 Henning Karlsen// web: http://www.henningkarlsen.com/electronics//// This program is a quick demo of how create and use buttons.//// This program requires the UTFT library.//// 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.//

#include <UTFT.h>#include <UTouch.h>

// Declare which fonts we will be usingextern uint8_t BigFont[];

// Uncomment the next two lines for the Arduino 2009/UNO//UTFT myGLCD(ITDB24D,19,18,17,16); // Remember to change the model parameter to suit your display module!//UTouch myTouch(15,10,14,9,8);

So I just flipped the asssignments..Then I scale the 509X264 to match 800X480... sure makes figuring out which object was touched much easier.NO problem with the SD either, as I was able to upload a custom 800X480 image.

I'm much happier with this.... with the other libraries... the smaller y axis had 509 points of resolution... where as the larger x axis only had 264... It's much better now...and by applying a scaling factor, you are always working in the same units.

So I just flipped the asssignments..Then I scale the 509X264 to match 800X480... sure makes figuring out which object was touched much easier.NO problem with the SD either, as I was able to upload a custom 800X480 image.

I'm much happier with this.... with the other libraries... the smaller y axis had 509 points of resolution... where as the larger x axis only had 264... It's much better now...and by applying a scaling factor, you are always working in the same units.

You know..the last thing I want to do is modify libraries when I buy something.

I simply want to work on my own projects and prototypes..and just have the stuff I BUY....well... WORK as advertised.

You are correct though...everything from ColdTears comes rotated 180 degF. That still persists.

So, with your modifications everything works...and is rotated correctly? Touch and Display? If so, have you thought about feeding those changes back to ColdTearsElectronics?

Yes I had thought about it. I'm just working on something at the moment and will then pass it back. What would be better for me is to get all the pin outs and pass everything back to Henning so it can be added to the genuine library and work from there.

I'm working on a GUI library which will work with the other 3 libraries (UTFT, UTouch and SD card). I'm working on normal buttons, radio buttons/groups, check boxs, pop up numeric/hex & alpha keyboards, pop-up message boxes etc. Biggest problem I have though is working out how to implement it into the IDE properly. PaulS has been giving me some help as I didn't know how to use one library from another. I think we are nearly there with that so it will be a case of implementing all the goodies then.