1LED Light Bar
In this project we’ll flash a row of LEDs back and forth in sequence, sort of like KITT from the 1980s TV series Knight Rider.
PARTS REQUIRED
Arduino board
Breadboard
Jumper wires
8 LEDs
8 220-ohm resistors
HOW IT WORKS
An LED emits light when a small current is passed through it. LEDs are polarized, which means one side is positive and one side is negative. This is because the LED will work only with current flowing in one direction, from positive to negative. The longer leg of the LED is positive and must connect to a positive ...
Get Arduino Project Handbook, Volume II now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.