We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3ca152 commit ce1273bCopy full SHA for ce1273b
ports/espressif/boards/adafruit_feather_esp32s2_tft/board.c
@@ -144,6 +144,18 @@ bool espressif_board_reset_pin_number(gpio_num_t pin_number) {
144
gpio_set_level(21, true);
145
return true;
146
}
147
+ // Pull LED down on reset rather than the default up
148
+ if (pin_number == 13) {
149
+ gpio_config_t cfg = {
150
+ .pin_bit_mask = BIT64(pin_number),
151
+ .mode = GPIO_MODE_DISABLE,
152
+ .pull_up_en = false,
153
+ .pull_down_en = true,
154
+ .intr_type = GPIO_INTR_DISABLE,
155
+ };
156
+ gpio_config(&cfg);
157
+ return true;
158
+ }
159
return false;
160
161
0 commit comments