Skip to content

Commit 9626e0d

Browse files
committed
fix(rgbled): use RGB LED naming
1 parent 367cf32 commit 9626e0d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

variants/sparkfun_esp32_iot_redboard/pins_arduino.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ static const uint8_t LED_BUILTIN = 18;
88
#define BUILTIN_LED LED_BUILTIN // backward compatibility
99
#define LED_BUILTIN LED_BUILTIN // allow testing #ifdef LED_BUILTIN
1010

11-
#define NEO_PIXEL 2 //WS2812 LED
12-
static const uint8_t RGB_BUILTIN = (SOC_GPIO_PIN_COUNT + NEO_PIXEL);
11+
#define RGB_LED_PIN 2 //WS2812 LED
12+
static const uint8_t RGB_BUILTIN = (SOC_GPIO_PIN_COUNT + RGB_LED_PIN);
1313
#define RGB_BUILTIN RGB_BUILTIN // necessary to make digitalWrite/digitalMode find it
1414
#define RGB_BRIGHTNESS 64
1515

0 commit comments

Comments
 (0)