stm32/boards/PYBD_SF2: Configure LEDs as inverted, for LED.intensity().

pull/1/head
Damien George 2019-12-13 17:26:30 +11:00
parent 4b184d1281
commit fb01415599
1 changed files with 1 additions and 0 deletions

View File

@ -154,6 +154,7 @@ extern struct _spi_bdev_t spi_bdev2;
#define MICROPY_HW_USRSW_PRESSED (0)
// LEDs
#define MICROPY_HW_LED_INVERTED (1) // LEDs are on when pin is driven low
#define MICROPY_HW_LED1 (pyb_pin_LED_RED)
#define MICROPY_HW_LED2 (pyb_pin_LED_GREEN)
#define MICROPY_HW_LED3 (pyb_pin_LED_BLUE)