updating i2c scan for reverse tft
Updating the I2C_Scan example to support the Feather ESP32-S2 Reverse TFT
This commit is contained in:
parent
e77271e4cf
commit
81766d7f69
1 changed files with 5 additions and 0 deletions
|
|
@ -46,6 +46,11 @@ void setup() {
|
||||||
digitalWrite(TFT_I2C_POWER, HIGH);
|
digitalWrite(TFT_I2C_POWER, HIGH);
|
||||||
#endif
|
#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)
|
#if defined(ADAFRUIT_FEATHER_ESP32_V2)
|
||||||
// Turn on the I2C power by pulling pin HIGH.
|
// Turn on the I2C power by pulling pin HIGH.
|
||||||
pinMode(NEOPIXEL_I2C_POWER, OUTPUT);
|
pinMode(NEOPIXEL_I2C_POWER, OUTPUT);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue