Lesson 5 – Digital Inputs

On this lab we used : Elegoo UNO Controller, 830 Tie-points Breadboard, 5mm red LED, 220 ohm resistor, 2 push switches and 7 M-M wires.

For the lab we got the Arduino-made code ready and only had to connect the components correctly to the controller and breadboard. By doing so we were able to switch the LED light on and off by using the two switches.

The connections on the breadboard and controller

After the initial work, we changed the code a bit, so that the led would light and turn off by pressing only one switch button.

Leave a comment