This section covers the basics of general purpose input and output or GPIOS for short. When using the STM32F4 Discovery or other boards such as the raspberry pi or arduino we refer to GPIO pins, which literally means the little pins sticking out of the board.
We can write code to control these little pins to do all kinds of things but this series of posts covers some basic projects that will get you started using GPIO pins and includes full source code in the downloads area (just register your email to get access) ranging from controlling LED’s to controlling motors using transistors.
- Using GPIO to control an external LED
- Using GPIO to control an LED with a separate power source via a transistor
- Simple GPIO motor control
- Mixing colours with a dual color LED
Once you’ve finished with the basics dont forget to check out some of the more advanced topics such as controlling LCD / LED screens with the STM32F4 Discovery