Skip to content

Commit 5b74070

Browse files
authored
Update LED_BUILTIN in pins_arduino.h for esp32c3.
According to this manual: https://wiki.icbbuy.com/doku.php?id=developmentboard:esp32-c3mini. Also, I checked it myself on my esp32c3.
1 parent 0fa4aa6 commit 5b74070

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

variants/esp32c3/pins_arduino.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
#define PIN_NEOPIXEL 8
88
// BUILTIN_LED can be used in new Arduino API digitalWrite() like in Blink.ino
9-
static const uint8_t LED_BUILTIN = SOC_GPIO_PIN_COUNT + PIN_NEOPIXEL;
9+
static const uint8_t LED_BUILTIN = PIN_NEOPIXEL;
1010
#define BUILTIN_LED LED_BUILTIN // backward compatibility
1111
#define LED_BUILTIN LED_BUILTIN // allow testing #ifdef LED_BUILTIN
1212
// RGB_BUILTIN and RGB_BRIGHTNESS can be used in new Arduino API neopixelWrite()

0 commit comments

Comments
 (0)