updating i2c scan for reverse tft

Updating the I2C_Scan example to support the Feather ESP32-S2 Reverse TFT
This commit is contained in:
BlitzCityDIY 2023-02-08 15:57:43 -05:00
parent e77271e4cf
commit 81766d7f69

View file

@ -46,6 +46,11 @@ void setup() {
digitalWrite(TFT_I2C_POWER, HIGH);
#endif
#if defined(ARDUINO_ADAFRUIT_FEATHER_ESP32S2_REVTFT)
pinMode(TFT_I2C_POWER, OUTPUT);
digitalWrite(TFT_I2C_POWER, HIGH);
#endif
#if defined(ADAFRUIT_FEATHER_ESP32_V2)
// Turn on the I2C power by pulling pin HIGH.
pinMode(NEOPIXEL_I2C_POWER, OUTPUT);