This project is about creating simple patterns on LEDs. We will be using 5 LEDs and making a simple patterns, lights up, the 2nd then another.
Step 1: Materials Required
We’ll use 5 LEDs, 1 Breadboard and a LinkitONE
Step 2: Connecting LEDs to the Breadboard
We’ll connect all the LEDs to the breadboard as shown in the images carefully. Use multiple colours to make it more attractive.
Step 3: Programming
Program your board with the code below.
We are making different LED’s light on and off at one time
and generating a simple pattern. This same is used in animated Christmas
Step 4: Attach a Battery Pack
Attach a battery pack so that we can use the project when the USB connection is not available.
Step 5: Lighting Up LEDs
Light up all the LEDs now!
Now we’ll power up the circuit. Watch it and have fun!