use RGB LEDs as status indicators
This commit is contained in:
parent
8e26fdc0e9
commit
c8752ff93e
@ -30,7 +30,9 @@
|
||||
#define MICROPY_HW_BOARD_NAME "Makerdiary M60 Keyboard"
|
||||
#define MICROPY_HW_MCU_NAME "nRF52840"
|
||||
|
||||
#define MICROPY_HW_LED_STATUS (&pin_P0_30)
|
||||
#define CP_RGB_STATUS_R (&pin_P0_30)
|
||||
#define CP_RGB_STATUS_G (&pin_P0_29)
|
||||
#define CP_RGB_STATUS_B (&pin_P0_31)
|
||||
|
||||
#define MICROPY_QSPI_DATA0 NRF_GPIO_PIN_MAP(1, 10)
|
||||
#define MICROPY_QSPI_DATA1 NRF_GPIO_PIN_MAP(1, 14)
|
||||
|
@ -30,7 +30,12 @@
|
||||
#define MICROPY_HW_BOARD_NAME "Makerdiary nRF52840 M.2 Developer Kit"
|
||||
#define MICROPY_HW_MCU_NAME "nRF52840"
|
||||
|
||||
#define MICROPY_HW_LED_STATUS (&pin_P0_30)
|
||||
#define MICROPY_HW_LED_STATUS (&pin_P1_07)
|
||||
|
||||
#define CP_RGB_STATUS_INVERTED_PWM
|
||||
#define CP_RGB_STATUS_R (&pin_P0_30)
|
||||
#define CP_RGB_STATUS_G (&pin_P0_29)
|
||||
#define CP_RGB_STATUS_B (&pin_P0_31)
|
||||
|
||||
#define MICROPY_QSPI_DATA0 NRF_GPIO_PIN_MAP(1, 10)
|
||||
#define MICROPY_QSPI_DATA1 NRF_GPIO_PIN_MAP(1, 14)
|
||||
|
Loading…
Reference in New Issue
Block a user