UTFT not working..help?

Heya, i’m currently working on a project that should record temperature with ds18b20 sensor, display it on the screen (Sainsmart 3.2inch TFT) and record it to an SD card that is already implemented within the screen. I am using Sainsmart Mega board and a TFT display shield. I got my sensor to work pretty easily but now i’m running into a wall of problems from what it seems with the LCD.

I managed to get the UTFT example working for 320x240 displays yesterday even that is no longer working for some reason. Then I have tried to write my own program+bits and pieces i found online just to see if the display is showing all the characters correctly. But it fails to verify and I have no clue why.

#include <UTFT.h>

// Declare which fonts we will be using
extern uint8_t SmallFont;
extern uint8_t BigFont;
extern uint8_t SevenSegNumFont;

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

void setup()


void loop()
myGLCD.setColor(0, 255, 0);
myGLCD.setBackColor(0, 0, 0);

myGLCD.print(" !"#$%&’()*+,-./", CENTER, 0);
myGLCD.print(“0123456789:;<=>?”, CENTER, 16);
myGLCD.print(“PQRSTUVWXYZ[\]^_”, CENTER, 48);
myGLCD.print("`abcdefghijklmno", CENTER, 64);
myGLCD.print("pqrstuvwxyz{|}~ ", CENTER, 80);

myGLCD.print(" !"#$%&’()*+,-./0123456789:;<=>?", CENTER, 120);
myGLCD.print("`abcdefghijklmnopqrstuvwxyz{|}~ ", CENTER, 144);

myGLCD.print(“0123456789”, CENTER, 190);

while(1) {};

The error message:


Any tips and guidance is greatly appreciated!

Most of the helpers here will not go to a web site to look at code, error messages, or anything else. Someone may be willing. I hope that they can help you.

To post code and/or error messages:

  1. Use CTRL-T in the Arduino IDE to autoformat your complete code.
  2. Paste the complete autoformatted code between code tags (the </> button)
    so that we can easily see and deal with your code.
  3. Paste the complete error message between code tags (the </> button)
    so that we can easily see and deal with your messages.
  4. If you already posted without code tags, you may add the code tags by
    editing your post. Do not change your existing posts in any other way.
    You may make additional posts as needed.

Before posting again, you should read the three locked topics at the top of the Programming Questions forum, and any links to which these posts point.

If your project involves wiring, please provide a schematic and/or a wiring diagram and/or a clear photograph of the wiring.

Good Luck!

Sorry for the hasty post and not reading the locked topics, they are there for a reason. I managed to solve the problem by reinstalling the UTFT library, not sure why but it worked. I haven't tampered with the library before. Thanks for the help anyway!