Lesson 98-6: Seesaw LED Game with Arduino

Video thumbnail for Lesson 98: Arduino 10 LED Push button Projects,  Potentiometer LED Voltmeter, Traffic Light RJT441

Lesson 98-6: Seesaw LED Game 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 is project 6 code. This code will turn on the green LED for 1 second, then turn it off and turn on the red LED for 1 second. It then turns it off and repeats, turning on the green LED.

Code Snippets

Comments will be displayed here.