Unverified Commit 7f494637 authored by Ha Thach's avatar Ha Thach Committed by GitHub

add adafruit new board feather esp32s2 reserve tft (#7794)

parent a13520c9
This diff is collapsed.
......@@ -31,7 +31,12 @@ extern "C" {
// Initialize variant/board, called before setup()
void initVariant(void)
{
// This board has power control pins, and we must set them to output and high
// in order to enable the NeoPixels, TFT & I2C
pinMode(NEOPIXEL_POWER, OUTPUT);
digitalWrite(NEOPIXEL_POWER, HIGH);
pinMode(TFT_I2C_POWER, OUTPUT);
digitalWrite(TFT_I2C_POWER, HIGH);
}
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment