I have 3.95" LCD Module for Mega2560. The packaging says it has a 9488 driver. I am connecting it directly to a Mega 2560 board. Every example I load only displays correctly for the first (top) half of the screen. Also the touchscreen demo works correctly for up and down axis, but left and right are reversed.
I'm using the LCDWiki examples for testing. I've set the sketch to use 16bit mode for ILI9488 driver.
Sorry if I am not providing sufficient information, I am very new to Arduino and LCDs.
The display is the same as this one below.
I have read some posts discussing R5 and R4 settings. My board has R5 missing. Do I need to bridge this to enable 16 bit?
17. If you do not have a standard Uno Shield, you can add a SPECIAL to the mcufriend_special.h
Edit mcufriend_shield.h: #define USE_SPECIAL
Edit mcufriend_special.h: e.g. #define USE_MEGA_16BIT_SHIELD
If your "special" is write-only, the library can not read the ID. It always returns 0xD3D3
18. Please run LCD_ID_readreg.ino to verify your non-standard wiring. Paste the defines to a Forum message.
19. OPEN-SMART Shields have different wiring to regular Uno Shields:
Edit utility/mcufriend_shield.h: #define USE_SPECIAL
Edit utility/mcufriend_special.h: #define USE_OPENSMART_SHIELD_PINOUT_xxx e.g. USE_OPENSMART_SHIELD_PINOUT_MEGA
Edit MCUFRIEND_kbv.cpp: #define SUPPORT_8352B
Is it possible to write a UTFT driver for the ILI9488 8 bit display? I notice that there are other 8 bit displays supported in UTFT. Can someone point me in the right direction.
I want to use URTouch but I can’t calibrate as URTouch uses UTFT.
I have rewritten the URTouch_calibration.ino to suit the 8 bit display using MCUFRIEND_kbv tft for the display but while repeatable, the cal figures don’t seem to suit this particular display.
Note that UTFT.h is not supported by the Library Manager.
Yes, it is very easy to write a UTFT driver. You just hack the publicly available source code.
Why do you want to use URTouch ?
Your display has the Touch controller on the proper hardware SPI pins.
URTouch is not supported by the IDE Library Manager.
URTouch has no concept of hardware SPI. And you will not be able to use the microSD if you bit-bash with URTouch.
Surely you would use a proper library like XPT2046_Touchscreen.h which understands SPI and is supported by the Library Manager.
p.s. I would expect the URTouch_calibration.ino sketch to work with UTFTGLUE. But it seems pointless when the XPT2046 is on the SPI pins.
But will UTFTGLUE work with the 8 bit ILI9488 on my board?
The reason I am using URTtouch is that I have a number of sketches written using it, which I want to port to some different screen sizes with minimal code change.
I’m not sure of what you mean when you say URTouch and UTFT.h are not supported by the IDE Library Manager.? All programs load and run fine so could you elaborate please.
I have bought another driver board for my SSD1963 display and changed the jumpers to Hardware SPI so it used the standard SPI pins on the mega and it works fine with URTouch.
I never use the micro SD
When you say you hack the publicly available source code, I have only found driver code for 16 bit and I’m not sure if I can hack that.
Having some time on my hand I guess I could rewrite all the sketches to use XPT2046_Touchscreen.h.
Thanks for you reply and any further information.