Skip to main content

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

YouTube Video https://www.youtube.com/watch?v=re8yzMK0lMo 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 […]

how to create a Digital ruler (fast)

YouTube video https://youtu.be/ixk10-tMRyE You also You need these items Arduino UNO Breadboard wire Ultrasonic Distance Sensor – HC-SR04 Breadboard How ultrasonic module works Basically, this module sends a 40000Hz ultrasonic sound then when the sound hits an object it will come back like the image after that the ultrasonic microphone will hear it and the […]