Hello all. This is my first post, so please excuse me if I do something wrong. I didn't want to hijack or revive zombie threads.
I ordered a 3.6" TFT LCD for Arduino Uno from ebay, but instead received 3.5" TFT lcd (bottom side is in attached picture, with "www.mcufriend.com 3.5'' TFT LCD for arduino uno" printed on the board, on top side the LCD is marked "ECW 03507".
It's a shield for Arduino Uno with micro sd card slot and with 28 pins. The communication with display controller is 8bit parallel.
I searched a lot until I came up with the right keywords and stumbled upon several threads here.
https://forum.arduino.cc/index.php?topic=289775.0
http://forum.arduino.cc/index.php?topic=288425.0
https://forum.arduino.cc/index.php?topic=245360.0
I then downloaded UTFT from GitHub - dgolda/UTFT: Modified UTFT library working with ILI9327 8-bit for example 3.5" TFT LCD from mcufriend.com with support for ILI9327_8
but it still wouldn't show anything. The key to making it work was
pinMode(A0, INPUT_PULLUP);
in setup()
.
After this I could run the UTFT_Demo_400x240 but it would not fill the whole screen.
I made a new setting which I named ILI9327_HVGA
and adjusted the resolution to 480x320 with all other params identical to ILI9327_8
.
Now the UTFT_Demo_480x320 runs on Uno with this constructor:
UTFT myGLCD(ILI9327_HVGA,A2,A1,A3,A4);
However, I think it is not quite right, because the colors are strange.
Could the display use different color bit depth ? Or is it something else ?