diff --git a/nrf5/boards/microbit/mpconfigboard.h b/nrf5/boards/microbit/mpconfigboard.h index f5bfdba88a..3c226a5b76 100644 --- a/nrf5/boards/microbit/mpconfigboard.h +++ b/nrf5/boards/microbit/mpconfigboard.h @@ -30,6 +30,7 @@ #define MICROPY_HW_MCU_NAME "NRF51822" #define MICROPY_PY_SYS_PLATFORM "nrf51" +#define MICROPY_PY_MACHINE_SOFT_PWM (0) #define MICROPY_PY_MACHINE_HW_SPI (1) #define MICROPY_PY_MACHINE_TIMER (1) #define MICROPY_PY_MACHINE_RTC (1) @@ -68,4 +69,7 @@ #define MICROPY_HW_SPI0_MOSI (pin_A15) #define MICROPY_HW_SPI0_MISO (pin_A14) +// micro:bit music pin +#define MICROPY_HW_MUSIC_PIN (pin_A3) + #define HELP_TEXT_BOARD_LED "1,2,3,4"