Skip to content

Commit a9ba4f9

Browse files
committed
DISCO_L496AG: change LED1 and LED2 pins
1 parent 2da597e commit a9ba4f9

File tree

1 file changed

+2
-2
lines changed
  • targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L496xG/TARGET_DISCO_L496AG

1 file changed

+2
-2
lines changed

targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L496xG/TARGET_DISCO_L496AG/PinNames.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,8 +285,8 @@ typedef enum {
285285
#endif
286286

287287
// Generic signals
288-
LED1 = PB_13, // Green LD2 on board
289-
LED2 = LED1,
288+
LED1 = PA_5, // Green LD3 on board
289+
LED2 = PB_13, // Green LD2 on board --> Warning: the state is reverted (1=OFF and 0=ON)
290290
LED3 = LED1,
291291
LED4 = LED1,
292292
USER_BUTTON = PC_13, // Joystick Center

0 commit comments

Comments
 (0)