Aim
The goal of the activity is to demonstrate the use of a two-way switch operation using an LED and two buttons connected to a STM32 -NUCLEO board. The LED can be switched on by one of the two buttons and be switched off by the other button.
Materials Required
- STM32 -NUCLEO -1
- Breadboard – 1
- LED -1
- Push buttons-2
- Several Jumper Wires
- 220Ω Resistors – 3
- Mini USB Cable-1
Wiring Diagram
Desired Outcome
The LED can be switched on by using either of the buttons and switched off with the same or the other button.