diff --git a/examples/graphicstest/graphicstest.pde b/examples/graphicstest/graphicstest.pde index bbeba20..14701c7 100755 --- a/examples/graphicstest/graphicstest.pde +++ b/examples/graphicstest/graphicstest.pde @@ -53,6 +53,8 @@ void setup(void) { Serial.println(F("Using Adafruit 2.8\" TFT Breakout Board Pinout")); #endif + Serial.print("TFT size is "); Serial.print(tft.width()); Serial.print("x"); Serial.println(tft.height()); + tft.reset(); uint16_t identifier = tft.readID(); @@ -65,6 +67,8 @@ void setup(void) { 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); @@ -379,4 +383,3 @@ unsigned long testFilledRoundRects() { return micros() - start; } -