Skip to main content

How to make a traffic light (simple)

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 […]

How to turn on and off 6 LEDs (with `for...

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 […]