//
// running light
int led_1 =13;
int led_2 =12;
int led_3 =11;
int led_4 =10;
int led_5 =9;
int led_6 =8;
void setup() {
// put your setup code here, to run once:
pinMode(led_1 ,OUTPUT);
pinMode(led_2 ,OUTPUT);
pinMode(led_3 ,OUTPUT);
pinMode(led_4 ,OUTPUT);
pinMode(led_5 ,OUTPUT);
pinMode(led_6 ,OUTPUT);
}
void loop() {
light1();
light2();
light3();
light4();
light5();
light6();
// put your main code here, to run repeatedly:
}
void light1(){
digitalWrite(led_1,1);
delay(1000);
digitalWrite(led_1,0);
delay(1000);
}
void light2(){
digitalWrite(led_2,1);
delay(1000);
digitalWrite(led_2,0);
delay(1000);
}
void light3(){
digitalWrite(led_3,1);
delay(1000);
digitalWrite(led_3,0);
delay(1000);
}
void light4(){
digitalWrite(led_4,1);
delay(1000);
digitalWrite(led_4,0);
delay(1000);
}
void light5(){
digitalWrite(led_5,1);
delay(1000);
digitalWrite(led_5,0);
delay(1000);
}
void light6(){
digitalWrite(led_6,1);
delay(1000);
digitalWrite(led_6,0);
delay(1000);
}