Tutorial 6 - Working with Switch part 1

STM32F4Discovery Tutorial 6 - Switch part 1

In this tutorial we will learn about how you can connect switches to the discovery board. Till now we have learned about the output mode of microcontroller pins. But in this tutorial we will now learn about the input mode of microcontroller pins. How you can configure the gpio pins and connect them to switch so that we can control program execution by just pressing a switch.