Lesson 98-3: How to Turn On/Off a Toggle LED Using a Push Button with Arduino
In this lesson, we learn how to use an LED and a push button in this 10-LED project. The wiring diagram is shown; the code is fully explained and demonstrated with multiple changes of settings for each project. We read the potentiometer's voltage and display the voltage by turning each LED on to represent the voltage. A simple traffic light project.
This code is part of a video lecture. This project 3 code is to turn ON/OFF (toggle) an LED using a push button.
Resources & references
No resources yet.
Files📁
No files available.