From bcec1e44f08a12b906bef550b2b628654ab3bd86 Mon Sep 17 00:00:00 2001 From: jerryneedell Date: Thu, 24 Mar 2022 15:05:02 -0400 Subject: [PATCH] add status LED to nrf pca10059 dongdle --- ports/nrf/boards/pca10059/mpconfigboard.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ports/nrf/boards/pca10059/mpconfigboard.h b/ports/nrf/boards/pca10059/mpconfigboard.h index 18aa66f16b..20bed466b5 100644 --- a/ports/nrf/boards/pca10059/mpconfigboard.h +++ b/ports/nrf/boards/pca10059/mpconfigboard.h @@ -28,3 +28,7 @@ #define MICROPY_HW_MCU_NAME "nRF52840" #define MICROPY_HW_LED_STATUS (&pin_P0_06) +#define CIRCUITPY_RGB_STATUS_INVERTED_PWM +#define CIRCUITPY_RGB_STATUS_R (&pin_P0_08) +#define CIRCUITPY_RGB_STATUS_G (&pin_P1_09) +#define CIRCUITPY_RGB_STATUS_B (&pin_P0_12)