How to connect led?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-05-04 6:21 AM
I just bought stm32 and i cant find any guides how can i enable led. I flashed pin PB7 so that it would output current
- Labels:
-
STM32H7 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-05-04 6:45 AM
Hello @Krafti @and welcome to the ST Community.
This is not an ST official evaluation board but it is a Board based on an STM32 MCU. So, you should ask the manufacturer of this board about the connections and the board layout.
‘Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-05-04 8:13 AM
You need to connect the LED so toggling the pin completes the circuit.
Any of these:
[PB7] --> [LED] --> [RESISTOR] --> [GND]
[PB7] --> [RESISTOR] --> [LED] --> [GND]
[VCC] --> [LED] --> [RESISTOR] --> [PB7]
[VCC] --> [RESISTOR] --> [LED] --> [PB7]
Make sure the LED polarity is correct and resistor is sized such that the LED gets around 3 mA, or whatever the data sheet says is safe.
