Skip to content

Commit c1b05ce

Browse files
authored
Merge pull request #6189 from Neradoc/patch-1
Enable rgb status LED on MakerDiary USB Dongle
2 parents 94bbcf8 + 367e0ea commit c1b05ce

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

ports/nrf/boards/makerdiary_nrf52840_mdk_usb_dongle/mpconfigboard.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,8 @@
3333
#define MICROPY_HW_MCU_NAME "nRF52840"
3434

3535
#define BOARD_HAS_CRYSTAL 1 // according to the schematic we do
36+
37+
#define CIRCUITPY_RGB_STATUS_INVERTED_PWM
38+
#define CIRCUITPY_RGB_STATUS_R (&pin_P0_23)
39+
#define CIRCUITPY_RGB_STATUS_G (&pin_P0_22)
40+
#define CIRCUITPY_RGB_STATUS_B (&pin_P0_24)

0 commit comments

Comments
 (0)