Using Adafruit 2.8″ TFT Breakout Board Pinout
TFT size is 240×320
Unknown LCD driver chip: 6809
If using the Adafruit 2.8″ TFT Arduino shield, the line:
#define USE_ADAFRUIT_SHIELD_PINOUT,
Check the code found that only identification information of the 9325 chip then can drive the LCD screen,direct assignment “return”.
The following is the code:
if(identifier == 0x9325) {
Serial.println(F(“Found ILI9325 LCD driver”));
} else if(identifier == 0x9328) {
Serial.println(F(“Found ILI9328 LCD driver”));
} else if(identifier == 0x7575) {
Serial.println(F(“Found HX8347G LCD driver”));
} else if(identifier == 0x9341) {
Serial.println(F(“Found ILI9341 LCD driver”));
} else if(identifier == 0x8357) {
Serial.println(F(“Found HX8357D LCD driver”));
} else {
Serial.print(F(“Unknown LCD driver chip: “));
Serial.println(identifier, HEX);
Serial.println(F(“If using the Adafruit 2.8\” TFT Arduino shield, the line:”));
Serial.println(F(” #define USE_ADAFRUIT_SHIELD_PINOUT”));
Serial.println(F(“should appear in the library header (Adafruit_TFT.h).”));
Serial.println(F(“If using the breakout board, it should NOT be #defined!”));
Serial.println(F(“Also if using the breakout, double-check that all wiring”));
Serial.println(F(“matches the tutorial.”));
//return;
identifier = 0x9325;
}
Then upload LCD screen and can start up
TFT size is 240×320
Unknown LCD driver chip: 6809
If using the Adafruit 2.8″ TFT Arduino shield, the line:
#define USE_ADAFRUIT_SHIELD_PINOUT
should appear in the library header (Adafruit_TFT.h).
If using the breakout board, it should NOT be #defined!
Also if using the breakout, double-check that all wiring
matches the tutorial.
Benchmark Time (microseconds)
Screen fill 1321920
Text 191300
Lines 1091844
Horiz/Vert Lines 137464
Rectangles (outline) 100220
Rectangles (filled) 3068776
Circles (filled) 1218600
Circles (outline) 474972
Triangles (outline) 346464
Triangles (filled) 1671168
Rounded rects (outline) 218420
Rounded rects (filled) 3589960
Done!
Andrew