1int led1=1;
2int led2=2;
3int led3=3;
4int led4=4;
5int led5=5;
6int led6=6;
7int led7=7;
8void setup() {
9
10pinMode(led1,OUTPUT);
11pinMode(led2,OUTPUT);
12pinMode(led3,OUTPUT);
13pinMode(led4,OUTPUT);
14pinMode(led5,OUTPUT);
15pinMode(led6,OUTPUT);
16pinMode(led7,OUTPUT);
17}
18
19void loop() {
20
21digitalWrite(led1,HIGH);digitalWrite(led1,HIGH);digitalWrite(led1,HIGH);digitalWrite(led1,HIGH);digitalWrite(led1,HIGH);digitalWrite(led1,HIGH);digitalWrite(led1,LOW);
22delay(2000);
23digitalWrite(led1,LOW);digitalWrite(led1,HIGH);digitalWrite(led1,HIGH);digitalWrite(led1,LOW);digitalWrite(led1,LOW);digitalWrite(led1,LOW);digitalWrite(led1,LOW);
24delay(2000);
25digitalWrite(led1,HIGH);digitalWrite(led1,HIGH);digitalWrite(led1,LOW);digitalWrite(led1,HIGH);digitalWrite(led1,HIGH);digitalWrite(led1,LOW);digitalWrite(led1,HIGH);
26delay(2000);
27digitalWrite(led1,HIGH);digitalWrite(led1,HIGH);digitalWrite(led1,HIGH);digitalWrite(led1,HIGH);digitalWrite(led1,LOW);digitalWrite(led1,LOW);digitalWrite(led1,HIGH);
28delay(2000);
29digitalWrite(led1,LOW);digitalWrite(led1,HIGH);digitalWrite(led1,HIGH);digitalWrite(led1,LOW);digitalWrite(led1,LOW);digitalWrite(led1,HIGH);digitalWrite(led1,HIGH);
30delay(2000);
31digitalWrite(led1,HIGH);digitalWrite(led1,LOW);digitalWrite(led1,HIGH);digitalWrite(led1,HIGH);digitalWrite(led1,LOW);digitalWrite(led1,HIGH);digitalWrite(led1,HIGH);
32delay(2000);
33digitalWrite(led1,HIGH);digitalWrite(led1,LOW);digitalWrite(led1,HIGH);digitalWrite(led1,HIGH);digitalWrite(led1,HIGH);digitalWrite(led1,HIGH);digitalWrite(led1,HIGH);
34delay(2000);
35digitalWrite(led1,HIGH);digitalWrite(led1,HIGH);digitalWrite(led1,HIGH);digitalWrite(led1,LOW);digitalWrite(led1,LOW);digitalWrite(led1,LOW);digitalWrite(led1,HIGH);
36delay(2000);
37digitalWrite(led1,HIGH);digitalWrite(led1,HIGH);digitalWrite(led1,HIGH);digitalWrite(led1,HIGH);digitalWrite(led1,HIGH);digitalWrite(led1,HIGH);digitalWrite(led1,HIGH);
38delay(2000);
39digitalWrite(led1,HIGH);digitalWrite(led1,HIGH);digitalWrite(led1,HIGH);digitalWrite(led1,HIGH);digitalWrite(led1,LOW);digitalWrite(led1,HIGH);digitalWrite(led1,HIGH);
40delay(2000);
41}
42