Merge pull request #6217 from Neradoc/aithinker-c3-status-led
Status LED on AI Thinker ESP32-C3 boards
This commit is contained in:
commit
85ea80113b
@ -30,7 +30,9 @@
|
|||||||
#define MICROPY_HW_MCU_NAME "ESP32-C3"
|
#define MICROPY_HW_MCU_NAME "ESP32-C3"
|
||||||
|
|
||||||
// Status LED
|
// Status LED
|
||||||
#define MICROPY_HW_LED_STATUS (&pin_GPIO19)
|
#define CIRCUITPY_RGB_STATUS_R (&pin_GPIO3)
|
||||||
|
#define CIRCUITPY_RGB_STATUS_G (&pin_GPIO4)
|
||||||
|
#define CIRCUITPY_RGB_STATUS_B (&pin_GPIO5)
|
||||||
|
|
||||||
// Default bus pins
|
// Default bus pins
|
||||||
#define DEFAULT_UART_BUS_RX (&pin_GPIO20)
|
#define DEFAULT_UART_BUS_RX (&pin_GPIO20)
|
||||||
|
@ -30,7 +30,9 @@
|
|||||||
#define MICROPY_HW_MCU_NAME "ESP32-C3FN4"
|
#define MICROPY_HW_MCU_NAME "ESP32-C3FN4"
|
||||||
|
|
||||||
// Status LED
|
// Status LED
|
||||||
#define MICROPY_HW_LED_STATUS (&pin_GPIO19)
|
#define CIRCUITPY_RGB_STATUS_R (&pin_GPIO3)
|
||||||
|
#define CIRCUITPY_RGB_STATUS_G (&pin_GPIO4)
|
||||||
|
#define CIRCUITPY_RGB_STATUS_B (&pin_GPIO5)
|
||||||
|
|
||||||
// Default bus pins
|
// Default bus pins
|
||||||
#define DEFAULT_UART_BUS_RX (&pin_GPIO20)
|
#define DEFAULT_UART_BUS_RX (&pin_GPIO20)
|
||||||
|
Loading…
Reference in New Issue
Block a user