Lesson 98-5: Fade Light When a Button Is Pressed Using 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 5 code. This code turns on an LED when a push button is pressed. When the push button is released, the LED will turn off after a delayLED time.
Recursos e referências
Ainda não há recursos.
Arquivos📁
Nenhum arquivo disponível.