Fix touch screen handler
The touch screen handler was broken for the ESP8266 only. The library uses SPI write only configuration for ESP8266 so the SPI buffer can be recycled and it was left in write only mode. The library now switches back to read & write mode at the end of a transaction.
This commit is contained in:
1 parent
d6e07078f7
commit
26d7e4038a
6 files changed
+33
-41
No files matched your search
@@ -42,7 +42,7 @@ tft.getSetup(user); //
|
||||
|
||||
Serial.printf("\n[code]\n");
|
||||
|
||||
Serial.print ("TFT_eSPI ver = " + user.version +"\n");
|
||||
Serial.print ("TFT_eSPI ver = " + user.version + "\n");
|
||||
Serial.printf("Processor = ESP%i\n", user.esp, HEX);
|
||||
Serial.printf("Frequency = %i MHz\n", ESP.getCpuFreqMHz());
|
||||
#ifdef ESP8266
|
||||
|
||||
Reference in new issue
Block a user