Merge pull request #6189 from Neradoc/patch-1

Enable rgb status LED on MakerDiary USB Dongle
This commit is contained in:
Dan Halbert 2022-03-23 11:07:35 -04:00 committed by GitHub
commit c1b05ce918
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,3 +33,8 @@
#define MICROPY_HW_MCU_NAME "nRF52840" #define MICROPY_HW_MCU_NAME "nRF52840"
#define BOARD_HAS_CRYSTAL 1 // according to the schematic we do #define BOARD_HAS_CRYSTAL 1 // according to the schematic we do
#define CIRCUITPY_RGB_STATUS_INVERTED_PWM
#define CIRCUITPY_RGB_STATUS_R (&pin_P0_23)
#define CIRCUITPY_RGB_STATUS_G (&pin_P0_22)
#define CIRCUITPY_RGB_STATUS_B (&pin_P0_24)