Arduino program 1 push button 2 LED

Read about lighting an LED using Arduino and a pushbutton...

https://docs.arduino.cc/built-in-examples/digital/Button/

Then, add another LED and keep track of which LED is on and which LED is off.

1 Like