Hello guys , this is my first project . Maybe smth is wrong .
Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.
Step 1: Items What You Need ...
7x Red LED's
7x 330 Ohm Resistor
A lot of wires
1x Push Button
Arduino ( i am using nano )
Step 2: Schematic
Look picture for more details....
Step 3: Code
Code works , i made my own code , maybe smth is wrong , but how i said , this is my first project .
sides are LED's 1 and 7;
almostsides are LED's 2 and 6;
middle are LED's 3 and 5;
center is LED 4; //pins
If you wanna add some circuits:
1 Step : Create new case .
2 Step : When you complete case type break;
3 Step : randNumber = random(1, 5); change the second number , like if you have 6 cases you need to change second number above , like : 5 cases , type 6 ....
Thanks , for reading .
Hope you enjoyed . ;)