We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ee5f0a commit ab34321Copy full SHA for ab34321
variants/adafruit_feather_esp32s2_tft/variant.cpp
@@ -31,7 +31,12 @@ extern "C" {
31
// Initialize variant/board, called before setup()
32
void initVariant(void)
33
{
34
-
+ // This board has power control pins, and we must set them to output and high
35
+ // in order to enable the NeoPixels, TFT & I2C
36
+ pinMode(NEOPIXEL_POWER, OUTPUT);
37
+ digitalWrite(NEOPIXEL_POWER, HIGH);
38
+ pinMode(TFT_I2C_POWER, OUTPUT);
39
+ digitalWrite(TFT_I2C_POWER, HIGH);
40
}
41
42
0 commit comments