Go Down

Topic: Ardunio LC-DIsplay Problem (Read 175 times) previous topic - next topic

Kyklopos

hey
Thank you already for your efforts.
I bought this 7 inch Display on eBay (links below) and bought also a Shield for it.
Now i put them together and testing a program the normal 800x480 UTFT.h testprogram but the Problem is  that the color is only blue for example white is light blue green is blue and black is black. And also the text is mirrored.
I tried already to establish the correct pins in the program but i m not sure its right.
I hope someone can help me.
With great greetings your Display newbie !
Link to display https://www.ebay.de/itm/272383539604
Link to shield (its only in german sorry  ) https://eckstein-shop.de/TFT-LCD-Mega-Shield-fuer-Arduino-Mega-2560
i m useing a Arduino mega 2560

First sentences of the program






#include <UTFT.h>

// Set the pins to the correct ones for your development shield
// ------------------------------------------------------------
// Arduino Uno / 2009:
// -------------------
// Standard Arduino Uno/2009 shield            : <display model>,A5,A4,A3,A2
// DisplayModule Arduino Uno TFT shield        : <display model>,A5,A4,A3,A2
//
// Arduino Mega:
// -------------------
// Standard Arduino Mega/Due shield            : <display model>,38,39,40,41
// CTE TFT LCD/SD Shield for Arduino Mega      : <display model>,38,39,40,41
//
// Remember to change the model parameter to suit your display module!
UTFT myGLCD(SSD1963_800,38,39,40,41);

void setup()
{
  randomSeed(analogRead(0));
 
// Setup the LCD
  myGLCD.InitLCD();
  myGLCD.setFont(SmallFont);
}

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

// Clear the screen and draw the frame
  myGLCD.clrScr();

Go Up