Skip to content

Commit 2c5e79b

Browse files
committed
Fix color ordering of onboard NeoPixel, add #pragma once line
1 parent eb4cd43 commit 2c5e79b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ports/espressif/boards/waveshare_esp32_s3_tiny/mpconfigboard.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,14 @@
44
//
55
// SPDX-License-Identifier: MIT
66

7+
#pragma once
8+
79
// Micropython setup
810

911
#define MICROPY_HW_BOARD_NAME "Waveshare ESP32-S3-Tiny"
1012
#define MICROPY_HW_MCU_NAME "ESP32S3"
1113

14+
#define MICROPY_HW_NEOPIXEL_ORDER_GRB (1)
1215
#define MICROPY_HW_NEOPIXEL (&pin_GPIO38)
1316

1417
#define DEFAULT_UART_BUS_RX (&pin_GPIO19)

0 commit comments

Comments
 (0)