Hardware components | ||||||
| × | 1 | ||||
| × | 1 | ||||
| × | 1 | ||||
| × | 1 | ||||
| × | 1 | ||||
| × | 1 | ||||
Software apps and online services | ||||||
|
LED Roulette Circuit
Step 1:
Put all the LEDs on the breadboard.
Step 2:
Connect the 220 ohms resistor as a jumper to the negative source of a breadboard and connect it to the GND of the Arduino board.
Step 3:
Connect all the black jumper wires on the negative terminal of the LEDs.
Step 4:
Connect led1 -digital pin 13
led2 - digital pin 12,
led3 - digital pin 11
led4 - digital pin 10
led5 - digital pin 9
led6 - digital pin 8
led7 - digital pin 7
led8 - digital pin 6
led9 - digital pin 5
Step 5:
Connect the Arduino board to Laptop, open the Arduino IDE, and upload the codes.
void setup() {
pinMode(13,OUTPUT);
pinMode(12,OUTPUT);
pinMode(11,OUTPUT);
pinMode(10,OUTPUT);
pinMode(9,OUTPUT);
pinMode(8,OUTPUT);
pinMode(7,OUTPUT);
pinMode(6,OUTPUT);
pinMode(5,OUTPUT);
//these are the outputs where the positive teminal of leds are connected
}
void loop() {
//the led is set to run and stop//
digitaWrite(13,HIGH);
delay(100);
digitalWrite(13,LOW);
delay(100);
digitalWrite(12,HIGH);
delay(100);
digitalWrite(12, LOW);
delay(100);
digitalWrite(11,HIGH);
delay(100);
digitalWrite(11, LOW);
delay(100);
digitalWrite(10,HIGH);
delay(100);
digitalWrite(10,LOW);
delay(100);
digitalWrite(9,HIGH);
delay(100);
digitalWrite(9, LOW);
delay(100);
digitalWrite(8,HIGH);
delay(100);
digitalWrite(8, LOW);
delay(100);
digitalWrite(7,HIGH);
delay(100);
digitalWrite(7, LOW);
delay(100);
digitalWrite(6,HIGH);
delay(100);
digitalWrite(6, LOW);
delay(100);
digitalWrite(5,HIGH);
delay(100);
digitalWrite(5,LOW);
delay(100);
digitalWrite(13,HIGH);
delay(100);
digitalWrite(13,LOW);
delay(100);
digitalWrite(12,HIGH);
delay(100);
digitalWrite(12, LOW);
delay(100);
digitalWrite(11,HIGH);
delay(100);
digitalWrite(11, LOW);
delay(100);
digitalWrite(10,HIGH);
delay(100);
digitalWrite(10,LOW);
delay(100);
digitalWrite(9,HIGH);
delay(100);
digitalWrite(9, LOW);
delay(100);
digitalWrite(8,HIGH);
delay(100);
digitalWrite(8, LOW);
delay(100);
digitalWrite(7,HIGH);
delay(100);
digitalWrite(7, LOW);
delay(100);
digitalWrite(6,HIGH);
delay(100);
digitalWrite(6, LOW);
delay(100);
digitalWrite(5,HIGH);
delay(100);
digitalWrite(5,LOW);
delay(100);
digitalWrite(13,HIGH);
delay(100);
digitalWrite(13,LOW);
delay(100);
digitalWrite(12,HIGH);
delay(100);
digitalWrite(12, LOW);
delay(100);
digitalWrite(11,HIGH);
delay(100);
digitalWrite(11, LOW);
delay(100);
digitalWrite(10,HIGH);
delay(100);
digitalWrite(10,LOW);
delay(100);
digitalWrite(9,HIGH);
delay(100);
digitalWrite(9, LOW);
delay(100);
digitalWrite(8,HIGH);
delay(100);
digitalWrite(8, LOW);
delay(100);
digitalWrite(7,HIGH);
delay(100);
digitalWrite(7, LOW);
delay(100);
digitalWrite(6,HIGH);
delay(100);
digitalWrite(6, LOW);
delay(100);
digitalWrite(5,HIGH);
delay(100);
digitalWrite(5,LOW);
delay(100);
digitalWrite(13,HIGH);
delay(100);
digitalWrite(13,LOW);
delay(100);
digitalWrite(12,HIGH);
delay(100);
digitalWrite(12, LOW);
delay(100);
digitalWrite(11,HIGH);
delay(100);
digitalWrite(11, LOW);
delay(100);
digitalWrite(10,HIGH);
delay(100);
digitalWrite(10,LOW);
delay(100);
digitalWrite(9,HIGH);
delay(100);
digitalWrite(9, LOW);
delay(100);
digitalWrite(8,HIGH);
delay(100);
digitalWrite(8, LOW);
delay(100);
digitalWrite(7,HIGH);
delay(100);
digitalWrite(7, LOW);
delay(100);
digitalWrite(6,HIGH);
delay(100);
digitalWrite(6, LOW);
delay(100);
digitalWrite(5,HIGH);
delay(100);
digitalWrite(5,LOW);
delay(100);
digitalWrite(13,HIGH);
delay(100);
digitalWrite(13,LOW);
delay(100);
digitalWrite(12,HIGH);
delay(100);
digitalWrite(12, LOW);
delay(100);
digitalWrite(11,HIGH);
delay(100);
digitalWrite(11, LOW);
delay(100);
digitalWrite(10,HIGH);
delay(100);
digitalWrite(10,LOW);
delay(100);
digitalWrite(9,HIGH);
delay(100);
digitalWrite(9, LOW);
delay(100);
digitalWrite(8,HIGH);
delay(100);
digitalWrite(8, LOW);
delay(100);
digitalWrite(7,HIGH);
delay(100);
digitalWrite(7, LOW);
delay(100);
digitalWrite(6,HIGH);
delay(100);
digitalWrite(6, LOW);
delay(100);
digitalWrite(5,HIGH);
delay(100);
digitalWrite(5,LOW);
delay(100);
digitalWrite(13,HIGH);
delay(100);
digitalWrite(13,LOW);
delay(100);
digitalWrite(12,HIGH);
delay(100);
digitalWrite(12, LOW);
delay(100);
digitalWrite(11,HIGH);
delay(100);
digitalWrite(11, LOW);
delay(100);
digitalWrite(10,HIGH);
delay(100);
digitalWrite(10,LOW);
delay(100);
digitalWrite(9,HIGH);
delay(100);
digitalWrite(9, LOW);
delay(100);
digitalWrite(8,HIGH);
delay(100);
digitalWrite(8, LOW);
delay(100);
digitalWrite(7,HIGH);
delay(100);
digitalWrite(7, LOW);
delay(100);
digitalWrite(6,HIGH);
delay(100);
digitalWrite(6, LOW);
delay(100);
digitalWrite(5,HIGH);
delay(100);
digitalWrite(5,LOW);
delay(100);
digitalWrite(13,HIGH);
delay(150);
digitalWrite(13,LOW);
delay(150);
digitalWrite(12,HIGH);
delay(150);
digitalWrite(12, LOW);
delay(150);
digitalWrite(11,HIGH);
delay(150);
digitalWrite(11, LOW);
delay(150);
digitalWrite(10,HIGH);
delay(200);
digitalWrite(10,LOW);
delay(200);
digitalWrite(9, HIGH);
delay(200);
digitalWrite(9,LOW);
delay(200);
digitalWrite(8,HIGH);
delay(200);
digitalWrite(8, LOW);
delay(200);
digitalWrite(7,HIGH);
delay(300);
digitalWrite(7, LOW);
delay(300);
digitalWrite(6,HIGH);
delay(300);
digitalWrite(6, LOW);
delay(300);
digitalWrite(5,HIGH);
delay(300);
digitalWrite(5,LOW);
delay(300);
digitalWrite(13,HIGH);
delay(400);
digitalWrite(13,LOW);
delay(400);
digitalWrite(12,HIGH);
delay(400);
digitalWrite(12, LOW);
delay(400);
digitalWrite(11,HIGH);
delay(500);
digitalWrite(11, LOW);
delay(500);
digitalWrite(10,HIGH);
delay(1500);
digitalWrite(10,LOW);
delay(1500);
digitalWrite(9, HIGH); //and here where the light stop, it has the delay of 20000 milliseconds which is equal to 20 seconds
delay(20000); //the 20 seconds delay represents the stop and after that the light will continue to run
digitalWrite(9, LOW);
delay(100);
digitalWrite(8,HIGH);
delay(100);
digitalWrite(8, LOW);
delay(100);
digitalWrite(7,HIGH);
delay(100);
digitalWrite(7, LOW);
delay(100);
digitalWrite(6,HIGH);
delay(100);
digitalWrite(6, LOW);
delay(100);
digitalWrite(5,HIGH);
delay(100);
digitalWrite(5,LOW);
delay(100);
digitalWrite(13,HIGH);
delay(100);
digitalWrite(13,LOW);
delay(100);
digitalWrite(12,HIGH);
delay(100);
digitalWrite(12, LOW);
delay(100);
digitalWrite(11,HIGH);
delay(100);
digitalWrite(11, LOW);
delay(100);
digitalWrite(10,HIGH);
delay(100);
digitalWrite(10,LOW);
delay(100);
digitalWrite(9,HIGH);
delay(100);
digitalWrite(9, LOW);
delay(100);
digitalWrite(8,HIGH);
delay(100);
digitalWrite(8, LOW);
delay(100);
digitalWrite(7,HIGH);
delay(100);
digitalWrite(7, LOW);
delay(100);
digitalWrite(6,HIGH);
delay(100);
digitalWrite(6, LOW);
delay(100);
digitalWrite(5,HIGH);
delay(100);
digitalWrite(5,LOW);
delay(100);
digitalWrite(13,HIGH);
delay(100);
digitalWrite(13,LOW);
delay(100);
digitalWrite(12,HIGH);
delay(100);
digitalWrite(12, LOW);
delay(100);
digitalWrite(11,HIGH);
delay(100);
digitalWrite(11, LOW);
delay(100);
digitalWrite(10,HIGH);
delay(100);
digitalWrite(10,LOW);
delay(100);
digitalWrite(9,HIGH);
delay(100);
digitalWrite(9, LOW);
delay(100);
digitalWrite(8,HIGH);
delay(100);
digitalWrite(8, LOW);
delay(100);
digitalWrite(7,HIGH);
delay(100);
digitalWrite(7, LOW);
delay(100);
digitalWrite(6,HIGH);
delay(100);
digitalWrite(6, LOW);
delay(100);
digitalWrite(5,HIGH);
delay(100);
digitalWrite(5,LOW);
delay(100);
digitalWrite(13,HIGH);
delay(100);
digitalWrite(13,LOW);
delay(100);
digitalWrite(12,HIGH);
delay(100);
digitalWrite(12, LOW);
delay(100);
digitalWrite(11,HIGH);
delay(100);
digitalWrite(11, LOW);
delay(100);
digitalWrite(10,HIGH);
delay(100);
digitalWrite(10,LOW);
delay(100);
digitalWrite(9,HIGH);
delay(100);
digitalWrite(9, LOW);
delay(100);
digitalWrite(8,HIGH);
delay(100);
digitalWrite(8, LOW);
delay(100);
digitalWrite(7,HIGH);
delay(100);
digitalWrite(7, LOW);
delay(100);
digitalWrite(6,HIGH);
delay(100);
digitalWrite(6, LOW);
delay(100);
digitalWrite(5,HIGH);
delay(100);
digitalWrite(5,LOW);
delay(100);
digitalWrite(13,HIGH);
delay(100);
digitalWrite(13,LOW);
delay(100);
digitalWrite(12,HIGH);
delay(100);
digitalWrite(12, LOW);
delay(100);
digitalWrite(11,HIGH);
delay(100);
digitalWrite(11, LOW);
delay(100);
digitalWrite(10,HIGH);
delay(100);
digitalWrite(10,LOW);
delay(100);
digitalWrite(9,HIGH);
delay(100);
digitalWrite(9, LOW);
delay(100);
digitalWrite(8,HIGH);
delay(100);
digitalWrite(8, LOW);
delay(100);
digitalWrite(7,HIGH);
delay(100);
digitalWrite(7, LOW);
delay(100);
digitalWrite(6,HIGH);
delay(100);
digitalWrite(6, LOW);
delay(100);
digitalWrite(5,HIGH);
delay(100);
digitalWrite(5,LOW);
delay(100);
digitalWrite(13,HIGH);
delay(100);
digitalWrite(13,LOW);
delay(100);
digitalWrite(12,HIGH);
delay(100);
digitalWrite(12, LOW);
delay(100);
digitalWrite(11,HIGH);
delay(100);
digitalWrite(11, LOW);
delay(100);
digitalWrite(10,HIGH);
delay(100);
digitalWrite(10,LOW);
delay(100);
digitalWrite(9,HIGH);
delay(100);
digitalWrite(9, LOW);
delay(100);
digitalWrite(8,HIGH);
delay(100);
digitalWrite(8, LOW);
delay(100);
digitalWrite(7,HIGH);
delay(100);
digitalWrite(7, LOW);
delay(100);
digitalWrite(6,HIGH);
delay(100);
digitalWrite(6, LOW);
delay(100);
digitalWrite(5,HIGH);
delay(100);
digitalWrite(5,LOW);
delay(100);
digitalWrite(13,HIGH);
delay(100);
digitalWrite(13,LOW);
delay(100);
digitalWrite(12,HIGH);
delay(100);
digitalWrite(12, LOW);
delay(100);
digitalWrite(11,HIGH);
delay(100);
digitalWrite(11, LOW);
delay(100);
digitalWrite(10,HIGH);
delay(100);
digitalWrite(10,LOW);
delay(100);
digitalWrite(9, HIGH);
delay(100);
digitalWrite(9,LOW);
delay(100);
digitalWrite(8,HIGH);
delay(100);
digitalWrite(8, LOW);
delay(100);
digitalWrite(7,HIGH);
delay(150);
digitalWrite(7, LOW);
delay(150);
digitalWrite(6,HIGH);
delay(150);
digitalWrite(6, LOW);
delay(150);
digitalWrite(5,HIGH);
delay(150);
digitalWrite(5,LOW);
delay(150);
digitalWrite(13,HIGH);
delay(200);
digitalWrite(13,LOW);
delay(200);
digitalWrite(12,HIGH);
delay(200);
digitalWrite(12, LOW);
delay(200);
digitalWrite(11,HIGH);
delay(200);
digitalWrite(11, LOW);
delay(200);
digitalWrite(10,HIGH);
delay(300);
digitalWrite(10,LOW);
delay(300);
digitalWrite(9, HIGH);
delay(300);
digitalWrite(9,LOW);
delay(300);
digitalWrite(8,HIGH);
delay(300);
digitalWrite(8, LOW);
delay(300);
digitalWrite(7,HIGH);
delay(400);
digitalWrite(7, LOW);
delay(400);
digitalWrite(6,HIGH);
delay(400);
digitalWrite(6, LOW);
delay(400);
digitalWrite(5,HIGH);
delay(500);
digitalWrite(5,LOW);
delay(500);
digitalWrite(13,HIGH);
delay(500);
digitalWrite(13, HIGH);
delay(20000);
digitalWrite(13, LOW);
delay(100);
digitalWrite(12,HIGH);
delay(100);
digitalWrite(12, LOW);
delay(100);
digitalWrite(11,HIGH);
delay(100);
digitalWrite(11, LOW);
delay(100);
digitalWrite(10,HIGH);
delay(100);
digitalWrite(10,LOW);
delay(100);
digitalWrite(9,HIGH);
delay(100);
digitalWrite(9, LOW);
delay(100);
digitalWrite(8,HIGH);
delay(100);
digitalWrite(8, LOW);
delay(100);
digitalWrite(7,HIGH);
delay(100);
digitalWrite(7, LOW);
delay(100);
digitalWrite(6,HIGH);
delay(100);
digitalWrite(6, LOW);
delay(100);
digitalWrite(5,HIGH);
delay(100);
digitalWrite(5,LOW);
delay(100);
digitalWrite(13,HIGH);
delay(100);
digitalWrite(13,LOW);
delay(100);
digitalWrite(12,HIGH);
delay(100);
digitalWrite(12, LOW);
delay(100);
digitalWrite(11,HIGH);
delay(100);
digitalWrite(11, LOW);
delay(100);
digitalWrite(10,HIGH);
delay(100);
digitalWrite(10,LOW);
delay(100);
digitalWrite(9,HIGH);
delay(100);
digitalWrite(9, LOW);
delay(100);
digitalWrite(8,HIGH);
delay(100);
digitalWrite(8, LOW);
delay(100);
digitalWrite(7,HIGH);
delay(100);
digitalWrite(7, LOW);
delay(100);
digitalWrite(6,HIGH);
delay(100);
digitalWrite(6, LOW);
delay(100);
digitalWrite(5,HIGH);
delay(100);
digitalWrite(5,LOW);
delay(100);
digitalWrite(13,HIGH);
delay(100);
digitalWrite(13,LOW);
delay(100);
digitalWrite(12,HIGH);
delay(100);
digitalWrite(12, LOW);
delay(100);
digitalWrite(11,HIGH);
delay(100);
digitalWrite(11, LOW);
delay(100);
digitalWrite(10,HIGH);
delay(100);
digitalWrite(10,LOW);
delay(100);
digitalWrite(9,HIGH);
delay(100);
digitalWrite(9, LOW);
delay(100);
digitalWrite(8,HIGH);
delay(100);
digitalWrite(8, LOW);
delay(100);
digitalWrite(7,HIGH);
delay(100);
digitalWrite(7, LOW);
delay(100);
digitalWrite(6,HIGH);
delay(100);
digitalWrite(6, LOW);
delay(100);
digitalWrite(5,HIGH);
delay(100);
digitalWrite(5,LOW);
delay(100);
digitalWrite(13,HIGH);
delay(100);
digitalWrite(13,LOW);
delay(100);
digitalWrite(12,HIGH);
delay(100);
digitalWrite(12, LOW);
delay(100);
digitalWrite(11,HIGH);
delay(100);
digitalWrite(11, LOW);
delay(100);
digitalWrite(10,HIGH);
delay(100);
digitalWrite(10,LOW);
delay(100);
digitalWrite(9,HIGH);
delay(100);
digitalWrite(9, LOW);
delay(100);
digitalWrite(8,HIGH);
delay(100);
digitalWrite(8, LOW);
delay(100);
digitalWrite(7,HIGH);
delay(100);
digitalWrite(7, LOW);
delay(100);
digitalWrite(6,HIGH);
delay(100);
digitalWrite(6, LOW);
delay(100);
digitalWrite(5,HIGH);
delay(100);
digitalWrite(5,LOW);
delay(100);
digitalWrite(13,HIGH);
delay(100);
digitalWrite(13,LOW);
delay(100);
digitalWrite(12,HIGH);
delay(100);
digitalWrite(12, LOW);
delay(100);
digitalWrite(11,HIGH);
delay(100);
digitalWrite(11, LOW);
delay(100);
digitalWrite(10,HIGH);
delay(100);
digitalWrite(10,LOW);
delay(100);
digitalWrite(9,HIGH);
delay(100);
digitalWrite(9, LOW);
delay(100);
digitalWrite(8,HIGH);
delay(100);
digitalWrite(8, LOW);
delay(100);
digitalWrite(7,HIGH);
delay(100);
digitalWrite(7, LOW);
delay(100);
digitalWrite(6,HIGH);
delay(100);
digitalWrite(6, LOW);
delay(100);
digitalWrite(5,HIGH);
delay(100);
digitalWrite(5,LOW);
delay(100);
digitalWrite(13,HIGH);
delay(100);
digitalWrite(13,LOW);
delay(100);
digitalWrite(12,HIGH);
delay(100);
digitalWrite(12, LOW);
delay(100);
digitalWrite(11,HIGH);
delay(100);
digitalWrite(11, LOW);
delay(100);
digitalWrite(10,HIGH);
delay(100);
digitalWrite(10,LOW);
delay(100);
digitalWrite(9,HIGH);
delay(100);
digitalWrite(9, LOW);
delay(100);
digitalWrite(8,HIGH);
delay(100);
digitalWrite(8, LOW);
delay(100);
digitalWrite(7,HIGH);
delay(100);
digitalWrite(7, LOW);
delay(100);
digitalWrite(6,HIGH);
delay(100);
digitalWrite(6, LOW);
delay(100);
digitalWrite(5,HIGH);
delay(150);
digitalWrite(5,LOW);
delay(150);
digitalWrite(13,HIGH);
delay(150);
digitalWrite(13,LOW);
delay(150);
digitalWrite(12,HIGH);
delay(150);
digitalWrite(12, LOW);
delay(150);
digitalWrite(11,HIGH);
delay(200);
digitalWrite(11, LOW);
delay(200);
digitalWrite(10,HIGH);
delay(200);
digitalWrite(10,LOW);
delay(200);
digitalWrite(9,HIGH);
delay(200);
digitalWrite(9, LOW);
delay(200);
digitalWrite(8,HIGH);
delay(300);
digitalWrite(8, LOW);
delay(300);
digitalWrite(7,HIGH);
delay(300);
digitalWrite(7, LOW);
delay(300);
digitalWrite(6,HIGH);
delay(300);
digitalWrite(6, LOW);
delay(300);
digitalWrite(5,HIGH);
delay(400);
digitalWrite(5,LOW);
delay(400);
digitalWrite(13,HIGH);
delay(400);
digitalWrite(13,LOW);
delay(400);
digitalWrite(12,HIGH);
delay(600);
digitalWrite(12, LOW);
delay(600);
digitalWrite(11, HIGH);
delay(20000);
digitalWrite(11, LOW);
delay(100);
digitalWrite(10,HIGH);
delay(100);
digitalWrite(10,LOW);
delay(100);
digitalWrite(9,HIGH);
delay(100);
digitalWrite(9, LOW);
delay(100);
digitalWrite(8,HIGH);
delay(100);
digitalWrite(8, LOW);
delay(100);
digitalWrite(7,HIGH);
delay(100);
digitalWrite(7, LOW);
delay(100);
digitalWrite(6,HIGH);
delay(100);
digitalWrite(6, LOW);
delay(100);
digitalWrite(5,HIGH);
delay(100);
digitalWrite(5,LOW);
delay(100);
digitalWrite(13,HIGH);
delay(100);
digitalWrite(13,LOW);
delay(100);
digitalWrite(12,HIGH);
delay(100);
digitalWrite(12, LOW);
delay(100);
digitalWrite(11,HIGH);
delay(100);
digitalWrite(11, LOW);
delay(100);
digitalWrite(10,HIGH);
delay(100);
digitalWrite(10,LOW);
delay(100);
digitalWrite(9,HIGH);
delay(100);
digitalWrite(9, LOW);
delay(100);
digitalWrite(8,HIGH);
delay(100);
digitalWrite(8, LOW);
delay(100);
digitalWrite(7,HIGH);
delay(100);
digitalWrite(7, LOW);
delay(100);
digitalWrite(6,HIGH);
delay(100);
digitalWrite(6, LOW);
delay(100);
digitalWrite(5,HIGH);
delay(100);
digitalWrite(5,LOW);
delay(100);
digitalWrite(13,HIGH);
delay(100);
digitalWrite(13,LOW);
delay(100);
digitalWrite(12,HIGH);
delay(100);
digitalWrite(12, LOW);
delay(100);
digitalWrite(11,HIGH);
delay(100);
digitalWrite(11, LOW);
delay(100);
digitalWrite(10,HIGH);
delay(100);
digitalWrite(10,LOW);
delay(100);
digitalWrite(9,HIGH);
delay(100);
digitalWrite(9, LOW);
delay(100);
digitalWrite(8,HIGH);
delay(100);
digitalWrite(8, LOW);
delay(100);
digitalWrite(7,HIGH);
delay(100);
digitalWrite(7, LOW);
delay(100);
digitalWrite(6,HIGH);
delay(100);
digitalWrite(6, LOW);
delay(100);
digitalWrite(5,HIGH);
delay(100);
digitalWrite(5,LOW);
delay(100);
digitalWrite(13,HIGH);
delay(100);
digitalWrite(13,LOW);
delay(100);
digitalWrite(12,HIGH);
delay(100);
digitalWrite(12, LOW);
delay(100);
digitalWrite(11,HIGH);
delay(100);
digitalWrite(11, LOW);
delay(100);
digitalWrite(10,HIGH);
delay(100);
digitalWrite(10,LOW);
delay(100);
digitalWrite(9,HIGH);
delay(100);
digitalWrite(9, LOW);
delay(100);
digitalWrite(8,HIGH);
delay(100);
digitalWrite(8, LOW);
delay(100);
digitalWrite(7,HIGH);
delay(100);
digitalWrite(7, LOW);
delay(100);
digitalWrite(6,HIGH);
delay(100);
digitalWrite(6, LOW);
delay(100);
digitalWrite(5,HIGH);
delay(100);
digitalWrite(5,LOW);
delay(100);
digitalWrite(13,HIGH);
delay(100);
digitalWrite(13,LOW);
delay(100);
digitalWrite(12,HIGH);
delay(100);
digitalWrite(12, LOW);
delay(100);
digitalWrite(11,HIGH);
delay(100);
digitalWrite(11, LOW);
delay(100);
digitalWrite(10,HIGH);
delay(100);
digitalWrite(10,LOW);
delay(100);
digitalWrite(9,HIGH);
delay(100);
digitalWrite(9, LOW);
delay(100);
digitalWrite(8,HIGH);
delay(100);
digitalWrite(8, LOW);
delay(100);
digitalWrite(7,HIGH);
delay(100);
digitalWrite(7, LOW);
delay(100);
digitalWrite(6,HIGH);
delay(100);
digitalWrite(6, LOW);
delay(100);
digitalWrite(5,HIGH);
delay(100);
digitalWrite(5,LOW);
delay(100);
digitalWrite(13,HIGH);
delay(100);
digitalWrite(13,LOW);
delay(100);
digitalWrite(12,HIGH);
delay(100);
digitalWrite(12, LOW);
delay(100);
digitalWrite(11,HIGH);
delay(100);
digitalWrite(11, LOW);
delay(100);
digitalWrite(10,HIGH);
delay(100);
digitalWrite(10,LOW);
delay(100);
digitalWrite(9,HIGH);
delay(150);
digitalWrite(9, LOW);
delay(150);
digitalWrite(8,HIGH);
delay(150);
digitalWrite(8, LOW);
delay(150);
digitalWrite(7,HIGH);
delay(150);
digitalWrite(7, LOW);
delay(150);
digitalWrite(6,HIGH);
delay(200);
digitalWrite(6, LOW);
delay(200);
digitalWrite(5,HIGH);
delay(200);
digitalWrite(5,LOW);
delay(200);
digitalWrite(13,HIGH);
delay(200);
digitalWrite(13,LOW);
delay(200);
digitalWrite(12,HIGH);
delay(300);
digitalWrite(12, LOW);
delay(300);
digitalWrite(11,HIGH);
delay(300);
digitalWrite(11, LOW);
delay(300);
digitalWrite(10,HIGH);
delay(300);
digitalWrite(10,LOW);
delay(300);
digitalWrite(9,HIGH);
delay(400);
digitalWrite(9, LOW);
delay(400);
digitalWrite(8,HIGH);
delay(400);
digitalWrite(8, LOW);
delay(400);
digitalWrite(7,HIGH);
delay(500);
digitalWrite(7, LOW);
delay(600);
digitalWrite(6, HIGH);
delay(20000);
digitalWrite(6, LOW);
delay(100);
digitalWrite(5,HIGH);
delay(100);
digitalWrite(5,LOW);
delay(100);
digitalWrite(13,HIGH);
delay(100);
digitalWrite(13,LOW);
delay(100);
digitalWrite(12,HIGH);
delay(100);
digitalWrite(12, LOW);
delay(100);
digitalWrite(11,HIGH);
delay(100);
digitalWrite(11, LOW);
delay(100);
digitalWrite(10,HIGH);
delay(100);
digitalWrite(10,LOW);
delay(100);
digitalWrite(9,HIGH);
delay(100);
digitalWrite(9, LOW);
delay(100);
digitalWrite(8,HIGH);
delay(100);
digitalWrite(8, LOW);
delay(100);
digitalWrite(7,HIGH);
delay(100);
digitalWrite(7, LOW);
delay(100);
digitalWrite(6,HIGH);
delay(100);
digitalWrite(6, LOW);
delay(100);
digitalWrite(5,HIGH);
delay(100);
digitalWrite(5,LOW);
delay(100);
digitalWrite(13,HIGH);
delay(100);
digitalWrite(13,LOW);
delay(100);
digitalWrite(12,HIGH);
delay(100);
digitalWrite(12, LOW);
delay(100);
digitalWrite(11,HIGH);
delay(100);
digitalWrite(11, LOW);
delay(100);
digitalWrite(10,HIGH);
delay(100);
digitalWrite(10,LOW);
delay(100);
digitalWrite(9,HIGH);
delay(100);
digitalWrite(9, LOW);
delay(100);
digitalWrite(8,HIGH);
delay(100);
digitalWrite(8, LOW);
delay(100);
digitalWrite(7,HIGH);
delay(100);
digitalWrite(7, LOW);
delay(100);
digitalWrite(6,HIGH);
delay(100);
digitalWrite(6, LOW);
delay(100);
digitalWrite(5,HIGH);
delay(100);
digitalWrite(5,LOW);
delay(100);
digitalWrite(13,HIGH);
delay(100);
digitalWrite(13,LOW);
delay(100);
digitalWrite(12,HIGH);
delay(100);
digitalWrite(12, LOW);
delay(100);
digitalWrite(11,HIGH);
delay(100);
digitalWrite(11, LOW);
delay(100);
digitalWrite(10,HIGH);
delay(100);
digitalWrite(10,LOW);
delay(100);
digitalWrite(9,HIGH);
delay(100);
digitalWrite(9, LOW);
delay(100);
digitalWrite(8,HIGH);
delay(100);
digitalWrite(8, LOW);
delay(100);
digitalWrite(7,HIGH);
delay(100);
digitalWrite(7, LOW);
delay(100);
digitalWrite(6,HIGH);
delay(100);
digitalWrite(6, LOW);
delay(100);
digitalWrite(5,HIGH);
delay(100);
digitalWrite(5,LOW);
delay(100);
digitalWrite(13,HIGH);
delay(100);
digitalWrite(13,LOW);
delay(100);
digitalWrite(12,HIGH);
delay(100);
digitalWrite(12, LOW);
delay(100);
digitalWrite(11,HIGH);
delay(100);
digitalWrite(11, LOW);
delay(100);
digitalWrite(10,HIGH);
delay(100);
digitalWrite(10,LOW);
delay(100);
digitalWrite(9,HIGH);
delay(100);
digitalWrite(9, LOW);
delay(100);
digitalWrite(8,HIGH);
delay(100);
digitalWrite(8, LOW);
delay(100);
digitalWrite(7,HIGH);
delay(100);
digitalWrite(7, LOW);
delay(100);
digitalWrite(6,HIGH);
delay(100);
digitalWrite(6, LOW);
delay(100);
digitalWrite(5,HIGH);
delay(100);
digitalWrite(5,LOW);
delay(100);
digitalWrite(13,HIGH);
delay(100);
digitalWrite(13,LOW);
delay(100);
digitalWrite(12,HIGH);
delay(100);
digitalWrite(12, LOW);
delay(100);
digitalWrite(11,HIGH);
delay(100);
digitalWrite(11, LOW);
delay(100);
digitalWrite(10,HIGH);
delay(100);
digitalWrite(10,LOW);
delay(100);
digitalWrite(9,HIGH);
delay(100);
digitalWrite(9, LOW);
delay(100);
digitalWrite(8,HIGH);
delay(100);
digitalWrite(8, LOW);
delay(100);
digitalWrite(7,HIGH);
delay(100);
digitalWrite(7, LOW);
delay(100);
digitalWrite(6,HIGH);
delay(100);
digitalWrite(6, LOW);
delay(100);
digitalWrite(5,HIGH);
delay(100);
digitalWrite(5,LOW);
delay(100);
digitalWrite(13,HIGH);
delay(100);
digitalWrite(13,LOW);
delay(100);
digitalWrite(12,HIGH);
delay(150);
digitalWrite(12, LOW);
delay(150);
digitalWrite(11,HIGH);
delay(150);
digitalWrite(11, LOW);
delay(150);
digitalWrite(10,HIGH);
delay(150);
digitalWrite(10,LOW);
delay(150);
digitalWrite(9,HIGH);
delay(200);
digitalWrite(9, LOW);
delay(200);
digitalWrite(8,HIGH);
delay(200);
digitalWrite(8, LOW);
delay(200);
digitalWrite(7,HIGH);
delay(200);
digitalWrite(7, LOW);
delay(200);
digitalWrite(6,HIGH);
delay(300);
digitalWrite(6, LOW);
delay(300);
digitalWrite(5,HIGH);
delay(300);
digitalWrite(5,LOW);
delay(300);
digitalWrite(13,HIGH);
delay(300);
digitalWrite(13,LOW);
delay(300);
digitalWrite(12,HIGH);
delay(400);
digitalWrite(12, LOW);
delay(400);
digitalWrite(11,HIGH);
delay(400);
digitalWrite(11, LOW);
delay(400);
digitalWrite(10,HIGH);
delay(500);
digitalWrite(10,LOW);
delay(500);
digitalWrite(9,HIGH);
delay(600);
digitalWrite(9, LOW);
delay(600);
digitalWrite(8, HIGH);
delay(20000);
digitalWrite(8, LOW);
delay(100);
digitalWrite(7,HIGH);
delay(100);
digitalWrite(7, LOW);
delay(100);
digitalWrite(6,HIGH);
delay(100);
digitalWrite(6, LOW);
delay(100);
digitalWrite(5,HIGH);
delay(100);
digitalWrite(5,LOW);
delay(100);
digitalWrite(13,HIGH);
delay(100);
digitalWrite(13,LOW);
delay(100);
digitalWrite(12,HIGH);
delay(100);
digitalWrite(12, LOW);
delay(100);
digitalWrite(11,HIGH);
delay(100);
digitalWrite(11, LOW);
delay(100);
digitalWrite(10,HIGH);
delay(100);
digitalWrite(10,LOW);
delay(100);
digitalWrite(9,HIGH);
delay(100);
digitalWrite(9, LOW);
delay(100);
digitalWrite(8,HIGH);
delay(100);
digitalWrite(8, LOW);
delay(100);
digitalWrite(7,HIGH);
delay(100);
digitalWrite(7, LOW);
delay(100);
digitalWrite(6,HIGH);
delay(100);
digitalWrite(6, LOW);
delay(100);
digitalWrite(5,HIGH);
delay(100);
digitalWrite(5,LOW);
delay(100);
digitalWrite(13,HIGH);
delay(100);
digitalWrite(13,LOW);
delay(100);
digitalWrite(12,HIGH);
delay(100);
digitalWrite(12, LOW);
delay(100);
digitalWrite(11,HIGH);
delay(100);
digitalWrite(11, LOW);
delay(100);
digitalWrite(10,HIGH);
delay(100);
digitalWrite(10,LOW);
delay(100);
digitalWrite(9,HIGH);
delay(100);
digitalWrite(9, LOW);
delay(100);
digitalWrite(8,HIGH);
delay(100);
digitalWrite(8, LOW);
delay(100);
digitalWrite(7,HIGH);
delay(100);
digitalWrite(7, LOW);
delay(100);
digitalWrite(6,HIGH);
delay(100);
digitalWrite(6, LOW);
delay(100);
digitalWrite(5,HIGH);
delay(100);
digitalWrite(5,LOW);
delay(100);
digitalWrite(13,HIGH);
delay(100);
digitalWrite(13,LOW);
delay(100);
digitalWrite(12,HIGH);
delay(100);
digitalWrite(12, LOW);
delay(100);
digitalWrite(11,HIGH);
delay(100);
digitalWrite(11, LOW);
delay(100);
digitalWrite(10,HIGH);
delay(100);
digitalWrite(10,LOW);
delay(100);
digitalWrite(9,HIGH);
delay(100);
digitalWrite(9, LOW);
delay(100);
digitalWrite(8,HIGH);
delay(100);
digitalWrite(8, LOW);
delay(100);
digitalWrite(7,HIGH);
delay(100);
digitalWrite(7, LOW);
delay(100);
digitalWrite(6,HIGH);
delay(100);
digitalWrite(6, LOW);
delay(100);
digitalWrite(5,HIGH);
delay(100);
digitalWrite(5,LOW);
delay(100);
digitalWrite(13,HIGH);
delay(100);
digitalWrite(13,LOW);
delay(100);
digitalWrite(12,HIGH);
delay(100);
digitalWrite(12, LOW);
delay(100);
digitalWrite(11,HIGH);
delay(100);
digitalWrite(11, LOW);
delay(150);
digitalWrite(10,HIGH);
delay(150);
digitalWrite(10,LOW);
delay(150);
digitalWrite(9,HIGH);
delay(150);
digitalWrite(9, LOW);
delay(150);
digitalWrite(8,HIGH);
delay(150);
digitalWrite(8, LOW);
delay(200);
digitalWrite(7,HIGH);
delay(200);
digitalWrite(7, LOW);
delay(200);
digitalWrite(6,HIGH);
delay(200);
digitalWrite(6, LOW);
delay(200);
digitalWrite(5,HIGH);
delay(200);
digitalWrite(5,LOW);
delay(200);
digitalWrite(13,HIGH);
delay(300);
digitalWrite(13,LOW);
delay(300);
digitalWrite(12,HIGH);
delay(300);
digitalWrite(12, LOW);
delay(300);
digitalWrite(11,HIGH);
delay(300);
digitalWrite(11, LOW);
delay(300);
digitalWrite(10,HIGH);
delay(400);
digitalWrite(10,LOW);
delay(400);
digitalWrite(9,HIGH);
delay(400);
digitalWrite(9, LOW);
delay(400);
digitalWrite(8,HIGH);
delay(500);
digitalWrite(8, LOW);
delay(500);
digitalWrite(7,HIGH);
delay(600);
digitalWrite(7, LOW);
delay(600);
digitalWrite(6, HIGH);
delay(20000);
digitalWrite(6, LOW);
delay(100);
digitalWrite(13,HIGH);
delay(100);
digitalWrite(13,LOW);
delay(100);
digitalWrite(12,HIGH);
delay(100);
digitalWrite(12, LOW);
delay(100);
digitalWrite(11,HIGH);
delay(100);
digitalWrite(11, LOW);
delay(100);
digitalWrite(10,HIGH);
delay(100);
digitalWrite(10,LOW);
delay(100);
digitalWrite(9,HIGH);
delay(100);
digitalWrite(9, LOW);
delay(100);
digitalWrite(8,HIGH);
delay(100);
digitalWrite(8, LOW);
delay(100);
digitalWrite(7,HIGH);
delay(100);
digitalWrite(7, LOW);
delay(100);
digitalWrite(6,HIGH);
delay(100);
digitalWrite(6, LOW);
delay(100);
digitalWrite(5,HIGH);
delay(100);
digitalWrite(5,LOW);
delay(100);
digitalWrite(13,HIGH);
delay(100);
digitalWrite(13,LOW);
delay(100);
digitalWrite(12,HIGH);
delay(100);
digitalWrite(12, LOW);
delay(100);
digitalWrite(11,HIGH);
delay(100);
digitalWrite(11, LOW);
delay(100);
digitalWrite(10,HIGH);
delay(100);
digitalWrite(10,LOW);
delay(100);
digitalWrite(9,HIGH);
delay(100);
digitalWrite(9, LOW);
delay(100);
digitalWrite(8,HIGH);
delay(100);
digitalWrite(8, LOW);
delay(100);
digitalWrite(7,HIGH);
delay(100);
digitalWrite(7, LOW);
delay(100);
digitalWrite(6,HIGH);
delay(100);
digitalWrite(6, LOW);
delay(100);
digitalWrite(5,HIGH);
delay(100);
digitalWrite(5,LOW);
delay(100);
digitalWrite(13,HIGH);
delay(100);
digitalWrite(13,LOW);
delay(100);
digitalWrite(12,HIGH);
delay(100);
digitalWrite(12, LOW);
delay(100);
digitalWrite(11,HIGH);
delay(100);
digitalWrite(11, LOW);
delay(100);
digitalWrite(10,HIGH);
delay(100);
digitalWrite(10,LOW);
delay(100);
digitalWrite(9,HIGH);
delay(100);
digitalWrite(9, LOW);
delay(100);
digitalWrite(8,HIGH);
delay(100);
digitalWrite(8, LOW);
delay(100);
digitalWrite(7,HIGH);
delay(100);
digitalWrite(7, LOW);
delay(100);
digitalWrite(6,HIGH);
delay(100);
digitalWrite(6, LOW);
delay(100);
digitalWrite(5,HIGH);
delay(100);
digitalWrite(5,LOW);
delay(100);
digitalWrite(13,HIGH);
delay(100);
digitalWrite(13,LOW);
delay(100);
digitalWrite(12,HIGH);
delay(100);
digitalWrite(12, LOW);
delay(100);
digitalWrite(11,HIGH);
delay(100);
digitalWrite(11, LOW);
delay(100);
digitalWrite(10,HIGH);
delay(100);
digitalWrite(10,LOW);
delay(100);
digitalWrite(9,HIGH);
delay(100);
digitalWrite(9, LOW);
delay(100);
digitalWrite(8,HIGH);
delay(100);
digitalWrite(8, LOW);
delay(100);
digitalWrite(7,HIGH);
delay(100);
digitalWrite(7, LOW);
delay(100);
digitalWrite(6,HIGH);
delay(100);
digitalWrite(6, LOW);
delay(100);
digitalWrite(5,HIGH);
delay(150);
digitalWrite(5,LOW);
delay(150);
digitalWrite(13,HIGH);
delay(150);
digitalWrite(13,LOW);
delay(150);
digitalWrite(12,HIGH);
delay(150);
digitalWrite(12, LOW);
delay(150);
digitalWrite(11,HIGH);
delay(200);
digitalWrite(11, LOW);
delay(200);
digitalWrite(10,HIGH);
delay(200);
digitalWrite(10,LOW);
delay(200);
digitalWrite(9,HIGH);
delay(200);
digitalWrite(9, LOW);
delay(200);
digitalWrite(8,HIGH);
delay(300);
digitalWrite(8, LOW);
delay(300);
digitalWrite(7,HIGH);
delay(300);
digitalWrite(7, LOW);
delay(300);
digitalWrite(6,HIGH);
delay(300);
digitalWrite(6, LOW);
delay(300);
digitalWrite(5,HIGH);
delay(400);
digitalWrite(5,LOW);
delay(400);
digitalWrite(13,LOW);
delay(400);
digitalWrite(12,HIGH);
delay(400);
digitalWrite(12, LOW);
delay(500);
digitalWrite(11,HIGH);
delay(500);
digitalWrite(11, LOW);
delay(600);
digitalWrite(10, HIGH);
delay(20000);
digitalWrite(10, LOW);
delay(100);
digitalWrite(13,HIGH);
delay(100);
digitalWrite(13,LOW);
delay(100);
digitalWrite(12,HIGH);
delay(100);
digitalWrite(12, LOW);
delay(100);
digitalWrite(11,HIGH);
delay(100);
digitalWrite(11, LOW);
delay(100);
digitalWrite(10,HIGH);
delay(100);
digitalWrite(10,LOW);
delay(100);
digitalWrite(9,HIGH);
delay(100);
digitalWrite(9, LOW);
delay(100);
digitalWrite(8,HIGH);
delay(100);
digitalWrite(8, LOW);
delay(100);
digitalWrite(7,HIGH);
delay(100);
digitalWrite(7, LOW);
delay(100);
digitalWrite(6,HIGH);
delay(100);
digitalWrite(6, LOW);
delay(100);
digitalWrite(5,HIGH);
delay(100);
digitalWrite(5,LOW);
delay(100);
digitalWrite(13,HIGH);
delay(100);
digitalWrite(13,LOW);
delay(100);
digitalWrite(12,HIGH);
delay(100);
digitalWrite(12, LOW);
delay(100);
digitalWrite(11,HIGH);
delay(100);
digitalWrite(11, LOW);
delay(100);
digitalWrite(10,HIGH);
delay(100);
digitalWrite(10,LOW);
delay(100);
digitalWrite(9,HIGH);
delay(100);
digitalWrite(9, LOW);
delay(100);
digitalWrite(8,HIGH);
delay(100);
digitalWrite(8, LOW);
delay(100);
digitalWrite(7,HIGH);
delay(100);
digitalWrite(7, LOW);
delay(100);
digitalWrite(6,HIGH);
delay(100);
digitalWrite(6, LOW);
delay(100);
digitalWrite(5,HIGH);
delay(100);
digitalWrite(5,LOW);
delay(100);
digitalWrite(13,HIGH);
delay(100);
digitalWrite(13,LOW);
delay(100);
digitalWrite(12,HIGH);
delay(100);
digitalWrite(12, LOW);
delay(100);
digitalWrite(11,HIGH);
delay(100);
digitalWrite(11, LOW);
delay(100);
digitalWrite(10,HIGH);
delay(100);
digitalWrite(10,LOW);
delay(100);
digitalWrite(9,HIGH);
delay(100);
digitalWrite(9, LOW);
delay(100);
digitalWrite(8,HIGH);
delay(100);
digitalWrite(8, LOW);
delay(100);
digitalWrite(7,HIGH);
delay(100);
digitalWrite(7, LOW);
delay(100);
digitalWrite(6,HIGH);
delay(100);
digitalWrite(6, LOW);
delay(100);
digitalWrite(5,HIGH);
delay(100);
digitalWrite(5,LOW);
delay(100);
digitalWrite(13,HIGH);
delay(100);
digitalWrite(13,LOW);
delay(100);
digitalWrite(12,HIGH);
delay(100);
digitalWrite(12, LOW);
delay(100);
digitalWrite(11,HIGH);
delay(100);
digitalWrite(11, LOW);
delay(150);
digitalWrite(10,HIGH);
delay(150);
digitalWrite(10,LOW);
delay(150);
digitalWrite(9,HIGH);
delay(150);
digitalWrite(9, LOW);
delay(150);
digitalWrite(8,HIGH);
delay(150);
digitalWrite(8, LOW);
delay(200);
digitalWrite(7,HIGH);
delay(200);
digitalWrite(7, LOW);
delay(200);
digitalWrite(6,HIGH);
delay(200);
digitalWrite(6, LOW);
delay(200);
digitalWrite(5,HIGH);
delay(200);
digitalWrite(5,LOW);
delay(300);
digitalWrite(13,HIGH);
delay(300);
digitalWrite(13,LOW);
delay(300);
digitalWrite(12,HIGH);
delay(300);
digitalWrite(12, LOW);
delay(300);
digitalWrite(11,HIGH);
delay(300);
digitalWrite(11, LOW);
delay(400);
digitalWrite(10,HIGH);
delay(400);
digitalWrite(10,LOW);
delay(400);
digitalWrite(9,HIGH);
delay(400);
digitalWrite(9, LOW);
delay(500);
digitalWrite(8,HIGH);
delay(500);
digitalWrite(8, LOW);
delay(600);
digitalWrite(7, HIGH);
delay(20000);
digitalWrite(7, LOW);
delay(100);
digitalWrite(13, HIGH);
delay(100);
digitalWrite(13,LOW);
delay(100);
digitalWrite(12,HIGH);
delay(100);
digitalWrite(12 ,LOW);
delay(100);
digitalWrite(11,HIGH);
delay(100);
digitalWrite(11,LOW);
delay(100);
digitalWrite(10, HIGH);
delay(100);
digitalWrite(10, LOW);
delay(100);
digitalWrite(9, HIGH);
delay(100);
}
Comments