At the same time, I ordered an ILI9488 display: http://www.aliexpress.com/item/1pcs-3-95-inch-LCD-Display-Module-TFT-LCD-screen-for-Arduino-UNO-R3-Board/32412273145.htmlThe pcb says "www.mcufriend.com 3.95" TFT LCD for arduino uno"I did succeed in adding "ILI9488_8" support to UTFT. This runs ok. The Resistive Touchscreen works perfectly.
It is a resistive touchscreen. Use the <Touchscreen.h> library from Adafruit. Likewise, earlier in this thread there is a modified Adafruit_TFTLCD.h library that supports the ILI9327 and ILI9488.You should be able to use the examples from the Touchscreen library. Or the example "tftpaint2.ino" from diger67's modified "Adafruit_TFTLCD.h" library.Code: [Select]TouchScreen ts = TouchScreen(6, A1, A2, 7, 300); // for mcufriend shieldIncidentally, the fillTriangle() method goes wrong with the larger screens. Edit the Adafruit_GFX.cpp file to use int32_t for sa, sbI have now got the UTFT library to support ILI9488 and R65109V on the 8-bit bus used by the Uno shields.My R65109 Problem was that UTFT assumes 8-bit commands. The Renesas controllers use registers like 0x200, 0x400, 0x600, ...I just had to change the argument type for LCD_Write_COM() family of methods.Note that UTFT does not understand the /RD pin on controllers. Make sure that you make the A0 pin ouput high before any UTFT example will work.Note that <UTouch.h> library expects an intelligent controller. The mcufriend Uno shields do not have a touch controller.I will also measure the pins on my 240x400 shield to see what the touch problem is. David.Edit. added constructor()
TouchScreen ts = TouchScreen(6, A1, A2, 7, 300); // for mcufriend shield