Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 367e0ea

Browse files
committed
Enable rgb status LED on MakerDiary USB Dongle
1 parent 35b188d commit 367e0ea

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

+5
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)