TFTpaint for ili9341 fixed!

This commit is contained in:
ladyada
2014-03-18 14:35:33 -04:00
parent 391f1a503f
commit 286f81f96e
+3 -1
View File
@@ -97,6 +97,8 @@ void setup(void) {
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 {
Serial.print(F("Unknown LCD driver chip: "));
Serial.println(identifier, HEX);
@@ -127,7 +129,7 @@ void setup(void) {
void loop()
{
digitalWrite(13, HIGH);
Point p = ts.getPoint();
TSPoint p = ts.getPoint();
digitalWrite(13, LOW);
// if sharing pins, you'll need to fix the directions of the touchscreen pins