Skip to content

Commit 879e14d

Browse files
authored
Update pins_arduino.h for lolin_c3_pico to define LED as RGB rather than the default GRB
1 parent 0b16221 commit 879e14d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

variants/lolin_c3_pico/pins_arduino.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ static const uint8_t LED_BUILTIN = SOC_GPIO_PIN_COUNT + PIN_RGB_LED;
1616
// RGB_BUILTIN and RGB_BRIGHTNESS can be used in new Arduino API rgbLedWrite()
1717
#define RGB_BUILTIN LED_BUILTIN
1818
#define RGB_BRIGHTNESS 64
19+
#define RGB_BUILTIN_LED_COLOR_ORDER LED_COLOR_ORDER_RGB
1920

2021
static const uint8_t TX = 21;
2122
static const uint8_t RX = 20;

0 commit comments

Comments
 (0)