Skip to content

Commit 691d13b

Browse files
committed
woops forgot to turn on the tft
1 parent 57fc20b commit 691d13b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Adafruit_ESP32S2_TFT_WebServer/Adafruit_ESP32S2_TFT_WebServer.ino

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ void setup(void) {
7777
delay(1000);
7878
#endif
7979

80+
// turn on TFT by default
81+
pinMode(TFT_I2C_POWER, OUTPUT);
82+
digitalWrite(TFT_I2C_POWER, HIGH);
8083
pinMode(TFT_BACKLITE, OUTPUT);
8184
digitalWrite(TFT_BACKLITE, LOW);
8285
delay(10);

0 commit comments

Comments
 (0)