Skip to content

Commit 42d9b0a

Browse files
committed
comments indicating neopixel color ordering
1 parent 237a2eb commit 42d9b0a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

ports/espressif/boards/waveshare_esp32_s3_tiny/mpconfigboard.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
#define MICROPY_HW_BOARD_NAME "Waveshare ESP32-S3-Tiny"
1212
#define MICROPY_HW_MCU_NAME "ESP32S3"
1313

14+
// This corrects the color ordering so that the CircuitPython status lights behave as expected
1415
#define MICROPY_HW_NEOPIXEL_ORDER_GRB (1)
1516
#define MICROPY_HW_NEOPIXEL (&pin_GPIO38)
1617

ports/espressif/boards/waveshare_esp32_s3_tiny/pins.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ STATIC const mp_rom_map_elem_t board_module_globals_table[] = {
4646
{ MP_ROM_QSTR(MP_QSTR_IO47), MP_ROM_PTR(&pin_GPIO47) },
4747
{ MP_ROM_QSTR(MP_QSTR_IO48), MP_ROM_PTR(&pin_GPIO48) },
4848

49-
// NEOPIXEL
49+
// NEOPIXEL (GRB Color Order)
5050
{ MP_ROM_QSTR(MP_QSTR_NEOPIXEL), MP_ROM_PTR(&pin_GPIO38) },
5151

5252
// UART

0 commit comments

Comments
 (0)