Skip to content

Commit

Permalink
TFTpaint for ili9341 fixed!
Browse files Browse the repository at this point in the history
  • Loading branch information
ladyada committed Mar 18, 2014
1 parent 391f1a5 commit 286f81f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/tftpaint/tftpaint.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 286f81f

Please sign in to comment.