Please be aware of all shipping deadlines before placing your order - we cannot guarantee orders will arrive before Christmas!

2.8" TFT Touch Shield Issues (White Screen)
Moderators: adafruit_support_bill, adafruit

2.8" TFT Touch Shield Issues (White Screen)

by mwra on Fri Jan 25, 2013 2:16 am

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 | TOGGLE FULL SIZE
#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.
mwra
 
Posts: 4
Joined: Fri Jan 25, 2013 2:07 am

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

by pburgess on Fri Jan 25, 2013 2:42 am

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?
User avatar
pburgess
 
Posts: 2760
Joined: Sun Oct 26, 2008 2:29 am

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

by mwra on Fri Jan 25, 2013 3:49 am

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 | TOGGLE FULL SIZE
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)

by mwra on Mon Jan 28, 2013 11:06 am

Sorry to double post, but does anyone have any ideas about this? Should I try to schedule a return?
mwra
 
Posts: 4
Joined: Fri Jan 25, 2013 2:07 am

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

by adafruit_support_bill on Mon Jan 28, 2013 2:14 pm

Sorry for the delay. We're out of ideas on this end, so let's try replacing it. If you contact support@adafruit.com with a link to this thread we can send you a replacement shield.
User avatar
adafruit_support_bill
 
Posts: 32638
Joined: Sat Feb 07, 2009 10:11 am

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

by mwra on Tue Jan 29, 2013 3:16 am

Thanks, I appreciate it!
mwra
 
Posts: 4
Joined: Fri Jan 25, 2013 2:07 am