A step-by-step guide on how to program GPIO using the HAL API. We will learn how to control LEDs using the button. To get the whole tutorial of the STM32 for beginners, please visit
https://www.steppeschool.com/courses/...
0:00 Workspace explanation
0:45 Creating a new project
2:08 Configuring the GPIO peripheral
3:44 Writing a code to control LEDs
7:10 Connecting a pull-up resistor
8:30 Reading the status of the button using the GPIO input mode