Youtube video

Things you need

Arduino UNO

LEDs

Breadboard Wires

Breadboard

Let's code

Hey

so at first we need to set pin(1,2,3) as output which we can do by pinMode(“pin”, OUTPUT);¬†

after that in void loop (when you put something in void loop it will do it for infinite amount of times) we just turn on and off the pins just like a traffic light, and we also put a delay to make it slow 

How to build

Thanks for reading please give a score and comment down bellow

Check out these also