setup PWM status LED on aithinker ESP32-C3 boards
This commit is contained in:
parent
be53193dde
commit
f9f1edbb08
@ -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