STM32F103 SPL Tutorial 3 – GPIO Read Button

STM32F103 GPIO

In this tutorial, I will explain how to use STM32F103 GPIO for reading a push button. STM32F103 GPIO can be configured in 4 different modes (input mode, output mode, analog input mode, and alternate function mode). For reading a button, we need to configure a GPIO pin in digital input mode.

STM32F103 GPIO input

Continue reading “STM32F103 SPL Tutorial 3 – GPIO Read Button”

Share this:

STM32F103 SPL Tutorial 2 – GPIO Write LED

STM32F103 GPIO

STM32F103 GPIO are generic pins that can be configured as input or output. In this tutorial, I will explain how to use STM32F103 GPIO for controlling an LED on/off. STM32F103 GPIO can be configured in 4 different modes (input mode, output mode, analog input mode, and alternate function mode). For controlling an LED on/off, we need to configure a GPIO pin in output mode.

STM32F103 GPIO

Continue reading “STM32F103 SPL Tutorial 2 – GPIO Write LED”

Share this: