A short description how to configure GPIO peripheral and read\write GPIO pins using HAL API. Please check the website to get more detailed insights about programming STM32 microcontrollers: 🤍🤍steppeschool.com/ The board I am using (NUCLEO-L476RG): 🤍🤍st.com/en/evaluation-tools/nucleo-l476rg.html 0:00 Configuring pins in GPIO input and output modes 0:51 Reading the state of the input pin 1:38 Controlling the state of the output pin 2:28 Demonstration