As proposed in #1914
This commit is contained in:
Bodmer
2022-07-19 12:29:41 +01:00
parent a0bfb52386
commit d94408bdaa
4 changed files with 4 additions and 3 deletions

View File

@@ -676,6 +676,7 @@ void TFT_eSPI::init(uint8_t tc)
pinMode(TFT_RST, OUTPUT);
#endif
if (TFT_RST >= 0) {
writecommand(0x00); // Put SPI bus in known state for TFT with CS tied low
digitalWrite(TFT_RST, HIGH);
delay(5);
digitalWrite(TFT_RST, LOW);