enable the PWM status LED on Pimonoroni Tiny 2040 and PicoSystem
This commit is contained in:
parent
20946d97a1
commit
6808d04d53
|
@ -14,9 +14,10 @@
|
|||
#define MICROPY_HW_BACKLIGHT (&pin_GPIO12)
|
||||
#define MICROPY_HW_VBUS_DETECT (&pin_GPIO2)
|
||||
|
||||
#define MICROPY_HW_LED_G (&pin_GPIO13)
|
||||
#define MICROPY_HW_LED_R (&pin_GPIO14)
|
||||
#define MICROPY_HW_LED_B (&pin_GPIO15)
|
||||
#define CIRCUITPY_RGB_STATUS_INVERTED_PWM
|
||||
#define CIRCUITPY_RGB_STATUS_G (&pin_GPIO13)
|
||||
#define CIRCUITPY_RGB_STATUS_R (&pin_GPIO14)
|
||||
#define CIRCUITPY_RGB_STATUS_B (&pin_GPIO15)
|
||||
|
||||
#define MICROPY_HW_SW_Y (&pin_GPIO16)
|
||||
#define MICROPY_HW_SW_X (&pin_GPIO17)
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
#define MICROPY_HW_BOARD_NAME "Pimoroni Tiny 2040"
|
||||
#define MICROPY_HW_MCU_NAME "rp2040"
|
||||
|
||||
#define MICROPY_HW_LED_R (&pin_GPIO18)
|
||||
#define MICROPY_HW_LED_G (&pin_GPIO19)
|
||||
#define MICROPY_HW_LED_B (&pin_GPIO20)
|
||||
#define CIRCUITPY_RGB_STATUS_INVERTED_PWM
|
||||
#define CIRCUITPY_RGB_STATUS_R (&pin_GPIO18)
|
||||
#define CIRCUITPY_RGB_STATUS_G (&pin_GPIO19)
|
||||
#define CIRCUITPY_RGB_STATUS_B (&pin_GPIO20)
|
||||
|
||||
#define MICROPY_HW_USER_SW (&pin_GPIO23)
|
||||
|
||||
|
|
Loading…
Reference in New Issue