3.5inc (480 x 320) GLCD Library Problem

Hello Guys !!

First i want to say I am beginner for Arduino coding..i just bought GLCD (480 x 320) from the ebay. That GLCD controlling library is (Controller : ili9488 Test code:ILI9327:) under the item description.. I download that define library and uploaded to my ARDUINO UNO result is pretty ugly.

Display Colors are to much contrast Example (Black color looks like ash ,red = Maroon color Bule look likes light blue) and display every thing as a flip screen size not fit to GLCD screen width and height like below uploaded link.. please some one help me on this i do not understand what to do i was googling more than few weeks but nothing got any luck ,..please help me

Link 01 :-

Link 02:-

thank you
Udana gayan


I believe you are using the Henning Karlsen library UTFT. In that event, the first thing is to ensure the code is set for the correct controller, something like

UTFT myGLCD(CTE32HR,38,39,40,41);

If you have loose wiring, rather than a shield, there could be a mistake there that explains the flipped text.

You may have an oddball display with no indication of the controller. You can change the controller code by trial and error.

The colours can be set with your own RGB values. I had to use 255,255,255 to get black.

Hello Nick_Pyner !!

I used "UTFT_v2.77b2_uno_ili9327_8bit_turbo" library as a library..and i was try many library's but result is same..MY GLCD can directly hooks up with arduino , Its like a plug and play GLCD. here is my upload sample code

Code :-

#include <UTFT.h>

// Declare which fonts we will be using
extern uint8_t SmallFont[];

UTFT myGLCD(ILI9327,A2,A1,A3,A4);

void setup()

// Setup the LCD

void loop()
int buf[478];
int x, x2;
int y, y2;
int r;

// Clear the screen and draw the frame

myGLCD.setColor(255, 0, 0);
myGLCD.fillRect(0, 0, 479, 13);
myGLCD.setColor(64, 64, 64);
myGLCD.fillRect(0, 306, 479, 319);
myGLCD.setColor(255, 255, 255);
myGLCD.setBackColor(255, 0, 0);
myGLCD.print("* Universal Color TFT Display Library *", CENTER, 1);
myGLCD.setBackColor(64, 64, 64);
myGLCD.print("http://electronics.henningkarlsen.com", CENTER, 307);

myGLCD.setColor(0, 0, 255);
myGLCD.drawRect(0, 14, 479, 305);

// Draw crosshairs
myGLCD.setColor(0, 0, 255);
myGLCD.setBackColor(0, 0, 0);
myGLCD.drawLine(239, 15, 239, 304);
myGLCD.drawLine(1, 159, 478, 159);
for (int i=9; i<470; i+=10)
myGLCD.drawLine(i, 157, i, 161);
for (int i=19; i<220; i+=10)
myGLCD.drawLine(237, i, 241, i);

delay (10000);