YouTube Video

Things you need

Let's start coding

So at first by using `pinMode(“pin number”, “mode’);` we set the pinmode (output or input)
inside `void loop` (it’s like a while it repeats the code infinite times)

we have “for”
whats for? for is used to do a certain job for several times, like in our code 7 times
it can be used like for(int a=0; a<5 ; a++) {} like this code it only repeats it 5 times

and by using a delay we make it slow, so our eyes can see what’s going on

How to build

Thanks for reading, please write a comment and give a star to us 😄

Check out these also