2.8" TFT Touch Shield Issues (White Screen)

EL Wire/Tape/Panels, LEDs, pixels and strips, LCDs and TFTs, etc products from Adafruit

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
mwra
 
Posts: 4
Joined: Fri Jan 25, 2013 2:07 am

2.8" TFT Touch Shield Issues (White Screen)

Post by mwra »

Hey guys,

I just got a 2.8 inch touch shield for a small project I'm working on and plugged everything in to test, downloading the libraries. I ran the graphics test and tftpaint test with no problems, then attempted to write my own code to start designing. After writing the simple program, which consisted of a loop that outputs mills(), I attempted to reupload and run the graphics test and the screen went white, no longer displaying anything. No matter how many times I unplug/replug the power supply, or use USB/external power, the screen just stays white with its backlight on. I haven't touched the board besides plugging it into the Arduino Uno I'm using. All the libraries were downloaded yesterday (the 23rd).

The program looked something like this (very small details might be off):

Code: Select all

#include <Adafruit_GFX.h>
#include <Adafruit_TFTLCD.h>

#define LCD_CS A3
#define LCD_CD A2
#define LCD_WR A1
#define LCD_RD A0

#define LCD_RESET A4

#define	BLACK   0x0000
#define	BLUE    0x001F
#define	RED     0xF800
#define	GREEN   0x07E0
#define CYAN    0x07FF
#define MAGENTA 0xF81F
#define YELLOW  0xFFE0
#define WHITE   0xFFFF

Adafruit_TFTLCD tft(LCD_CS, LCD_CD, LCD_WR, LCD_RD, LCD_RESET);

void setup(void) {
  tft.reset();
  uint16_t identifier = tft.readID();
  tft.begin(identifier);
  
  tft.fillScreen(BLACK);
  tft.setCursor(0, 0);
  tft.setTextColor(GREEN);  tft.setTextSize(5);
  tft.println("System");
  tft.println("Start!");
  tft.println("");
  
  tft.setTextColor(WHITE);  tft.setTextSize(3);
  tft.println("Hello World.");
}

void loop(void) {
  tft.setCursor(0, 20);
  tft.setTextColor(CYAN);  tft.setTextSize(3);
  tft.print(mills());
}
Thanks for any help.

User avatar
pburgess
 
Posts: 4161
Joined: Sun Oct 26, 2008 2:29 am

Re: 2.8" TFT Touch Shield Issues (White Screen)

Post by pburgess »

Try uploading the stock graphics test sketch, and let me know what you see in the serial console. Is the LCD driver chip correctly identified, or does it hang there?

mwra
 
Posts: 4
Joined: Fri Jan 25, 2013 2:07 am

Re: 2.8" TFT Touch Shield Issues (White Screen)

Post by mwra »

Hey,

The serial seems to print out the information like usual, just the screen stays white with the backlight on the entire time. Below is the output from serial.

Code: Select all

TFT LCD test
Using Adafruit 2.8" TFT Arduino Shield Pinout
Found ILI9325 LCD driver
Benchmark                Time (microseconds)
Screen fill              449672
Text                     116896
Lines                    598956
Horiz/Vert Lines         59240
Rectangles (outline)     44940
Rectangles (filled)      1261984
Circles (filled)         625636
Circles (outline)        256092
Triangles (outline)      191160
Triangles (filled)       749412
Rounded rects (outline)  118112
Rounded rects (filled)   (this number is recognized as spam so i removed it)
Done!
Thanks for everything.

mwra
 
Posts: 4
Joined: Fri Jan 25, 2013 2:07 am

Re: 2.8" TFT Touch Shield Issues (White Screen)

Post by mwra »

Sorry to double post, but does anyone have any ideas about this? Should I try to schedule a return?

User avatar
adafruit_support_bill
 
Posts: 88093
Joined: Sat Feb 07, 2009 10:11 am

Re: 2.8" TFT Touch Shield Issues (White Screen)

Post by adafruit_support_bill »

Sorry for the delay. We're out of ideas on this end, so let's try replacing it. If you contact [email protected] with a link to this thread we can send you a replacement shield.

mwra
 
Posts: 4
Joined: Fri Jan 25, 2013 2:07 am

Re: 2.8" TFT Touch Shield Issues (White Screen)

Post by mwra »

Thanks, I appreciate it!

Locked
Please be positive and constructive with your questions and comments.

Return to “Glowy things (LCD, LED, TFT, EL) purchased at Adafruit”