UTFT library / CTE32_R2 TFT Screen White

Hi Guys

First i want to thank you all for all the knowledge and the time your put helping noobs like me.

Here´s my problem.

I want to make this project :

I have followed the instructions on the tutorial and the problem started.

Like others in order to make my tft screen show something other than white i searched for a solution.

So i found out that for using it i have to change some code line.

First in the UTFT library exemple UTFT_Demo_320x240 i change

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


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

and i load it to the arduino and eveything went well.. i had images finally.

so i try to load the ino from the project

searched for the UTFT code line , made the change again ..but this time nothing ..only a white screen

So i guess i have to make somekind of change in the code of the UTFT library …

i have searches and read as much as possible and try many things ..but nothing worked ..

So here i am asking for you help.

Thanks Guys

Please post a link to the actual screen that you have bought. e.g. Ebay sale page

UTFT "supports" certain manufacturers. If your screen was made by ColdTears (CTE) you just need to specify the correct CTE model.

If you have bought a generic screen from AliExpress, Ebay, ... we need to identify the controller.
Then we might be able to suggest a suitable UTFT model


Hi David

I have bought the tft screen from a eBay seller. i don´t find the link .

but the screen himself have this model number in the back:


I have tried many types of models and changed the line code accordly ..the only one that have worked is the line code was CTE32_R2.

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

like that the UTFT library exemple works like a charm .

when i load the project ino i got a white screen

thanks in advance

From UTFT v2.83 UTFT.h

#define UTFT_VERSION	283
#define ILI9341_16		17
#define CTE32_R2		17	// ILI9341	(16bit)

Your pcb says: TFT_320QDT_9341
I would be 100% certain that your controller is ILI9341 with 16-bit parallel interface.

I suggest that you install libraries directly from the UTFT website (RinkyDink)
The current UTFT version is v2.83

I would expect your Instructables project to work with:

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

I don’t have your display. If UTFT_Demo_320x240 works 100%, your screen is obviously ok.


Hi David

Thanks for your guidance

Dowloaded the latest UTFT library

tried in the library exemple UTFT_Demo_320x240 and change the code to

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


UTFT myGLCD(ILI9341_16,38,39,40,41)

and it work perfectly

Made the same code change in the ino of the project and white screen again

Sorry guys

I suggest that you run all of the UTFT examples. Make sure that your screen works 100%. Repeat with all the URTouch examples.

It is possible that there is an error in the Instructables code.

How far do you get?

void setup() {

//Initialize RTC
  // while (!Serial) ; // wait until Arduino Serial Monitor opens
  setSyncProvider(RTC.get);   // the function to get the time from the RTC
  setSyncInterval(60); // sync the time every 60 seconds (1 minutes)
  if(timeStatus()!= timeSet){ 
     Serial.println("Unable to sync with the RTC");
     RTC.set(1408278800); // set the RTC to Aug 25 2014 9:00 am
     Serial.println("RTC has set the system time");   

// Setup Alarm enable pin to play back sound on the ISD1820 board
   pinMode(8, OUTPUT); // D8 used to toggle sound
   digitalWrite(8,LOW);  // Set to low to turn off sound

  // Initiate display
  drawscreen(); // Initiate the game
  UpdateDisp(); // update value to clock 


What do you see on Serial Terminal?
Add extra Serial lines to show each line as you get to it. e.g. Serial.println("myGLCD.InitLCD()");




thanks for your answer .

i started the project from zero and made all the conections and arduino software parts from scratch ..

And it works …

Thanks for your guidance

Best regards