void setup() {
// put your setup code here, to run once:
pinMode (13, OUTPUT);
pinMode (12, OUTPUT);
pinMode(11, OUTPUT);
pinMode(10, OUTPUT);
pinMode(9, OUTPUT);
}
void loop() {
// put your main code here, to run repeatedly:
digitalWrite(13, HIGH); // turn the LED on (HIGH is the voltage level)
delay (2000);//wait for a second
digitalWrite(13, LOW); // turn the LED off by making the voltage LOW
delay (2000);
digitalWrite (12, HIGH);
delay (2000);
digitalWrite(12, LOW);
delay (2000);// turn the LED on (HIGH is the voltage level)
// wait for a second
// turn the LED off by making the voltage LOW
digitalWrite(11, HIGH);
delay (2000); // turn the LED on (HIGH is the voltage level)
//wait for a second
digitalWrite(11, LOW); // turn the LED off by making the voltage LOW
delay (2000);
digitalWrite( 10, HIGH); // turn the LED on (HIGH is the voltage level)
// wait for a second
delay (2000);
digitalWrite(10, LOW); // turn the LED on (HIGH is the voltage level)
delay (2000);
//wait tor a second
digitalWrite(9, HIGH);
// turn the LED off by making the voltage LOW
delay(2000);
digitalWrite(9,LOW);
delay(2000); // turn the LED off by making the
}