Blinking of an External LED Using Stm32(Black Pill)
by Prateek Thapar in Circuits > Microcontrollers
19 Views, 0 Favorites, 0 Comments
Blinking of an External LED Using Stm32(Black Pill)

Blinking of an external LED using stm32(Black pill) using STMCubeIDE Software.
Supplies
- STM-32 black pill
- jumper wires
- LED
- USB - C cable
- STM-32CubeIDE
- STM32CubeProgrammer
Create a New Project on STM32CubeIDE

Create a new project on STMCubeIDE.
Selection of Board.

Select the above board.
Configure Pins

change pb10 to GPIO_Output
Write Code

Go to while and do the following changes.
Interface of Led
connect pb10 to +ive of led
connect -ive of led to gnd
Setup of STM-32 Cube Programmer


- now click on download.
- click on download icon on right screen.
- run as start automatic mode.
Output.

Led is blinking.