I would ideally like to use the UFTF library.... but when I run the examples, most won't work and a few will kinda work then crash halfway through (Example: Demo 320x280). Any thoughts or suggestions on what to do to fix this? I have created source code but it has the same issues. Sometimes it runs just fine until I change the code and reupload then it white screens....
UTFT myGLCD(ITDB32S_V2, 38, 39, 40, 41) is what Im using. I know there are several that work and have tried those as well. PLEASE HELP. I've been messing around with this too long.
Please see page 3 of the supported controllers sheet supplied by the the creators of the UFTF library (Located inside the zip file at Rinky-Dink Electronics) clearly states that ILI9341 is supported. (Although, it does say basic support? Is that what is messing it up?) I would have attached the document but because I am a new user it won’t allow.
I have tried all the model codes listed in that document that pertain to the ILI9341 and then some others found within this website.
What is really strange is that it will work for a while then it will white screen… I also cannot run the entire UFTF demo example without a white screen. It will load the sine wave part then “crash” after that. I have 2 of the exact same LCDs and they both do the exact same thing. The only thing I haven’t tried is swapping the Mega or the shield and at this point I don’t have time to order more parts.
I wouldn’t thing including a cleanup library would help with the UFTF examples? Those are supposed to work as they are (or as I thought).
Regardless of outcome, I do really appreciate your reply on this topic. If there is any other advice and guidance you could give, it would be greatly appreciated.
Directions are in the comments at begining of the file :
// UTFT Memory Saver
// -----------------
//
// Since most people have only one or possibly two different display modules a lot
// of memory has been wasted to keep support for many unneeded controller chips.
// You now have the option to remove this unneeded code from the library with
// this file.
// By disabling the controllers you don't need you can reduce the memory footprint
// of the library by several Kb.
//
// Uncomment the lines for the displaycontrollers that you don't use to save
// some flash memory by not including the init code for that particular
// controller.
The most important is :
Uncomment the lines for the displaycontrollers that you don't use