kopia lustrzana https://github.com/micropython/micropython
stm32/boards/NUCLEO_WB55: Fix LED ordering.
These were commented correctly by their colour, but in the wrong order with respect to the PCB silkscreen. Fixes issue #8054. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>pull/8074/head
rodzic
67f66795c0
commit
92f54fe8d9
|
@ -51,9 +51,9 @@
|
|||
#define MICROPY_HW_USRSW_PRESSED (0)
|
||||
|
||||
// LEDs
|
||||
#define MICROPY_HW_LED1 (pin_B1) // red
|
||||
#define MICROPY_HW_LED1 (pin_B5) // blue
|
||||
#define MICROPY_HW_LED2 (pin_B0) // green
|
||||
#define MICROPY_HW_LED3 (pin_B5) // blue
|
||||
#define MICROPY_HW_LED3 (pin_B1) // red
|
||||
#define MICROPY_HW_LED_ON(pin) (mp_hal_pin_high(pin))
|
||||
#define MICROPY_HW_LED_OFF(pin) (mp_hal_pin_low(pin))
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue