void setup()
{
pinMode(8, OUTPUT);
pinMode(9, OUTPUT);
pinMode(10, OUTPUT);
pinMode(11, OUTPUT);
pinMovde(12, OUTPUT);
digitalWrite(8, HIGH);
digitalWrite(9, HIGH);
digitalWrite(10, HIGH);
digitalWrite(11, HIGH);
digitalWrite(12, HIGH);
delay(3000); // Wait for 3000 millisecond(s)
digitalWrite(8, LOW);
digitalWrite(9, LOW);
digitalWrite(10, LOW);
digitalWrite(11, LOW);
digitalWrite(12, LOW);
}
void loop()
{
digitalWrite(9, LOW);
digitalWrite(8, HIGH);
delay(200); // Wait for 200 millisecond(s)
digitalWrite(8, LOW);
digitalWrite(9, HIGH);
delay(200); // Wait for 200 millisecond(s)
digitalWrite(9, LOW);
digitalWrite(10, HIGH);
delay(200); // Wait for 200 millisecond(s)
digitalWrite(10, LOW);
digitalWrite(11, HIGH);
delay(200); // Wait for 200 millisecond(s)
digitalWrite(11, LOW);
digitalWrite(12, HIGH);
delay(200); // Wait for 200 millisecond(s)
digitalWrite(12, LOW);
digitalWrite(11, HIGH);
delay(200); // Wait for 200 millisecond(s)
digitalWrite(11, LOW);
digitalWrite(10, HIGH);
delay(200); // Wait for 200 millisecond(s)
digitalWrite(10, LOW);
digitalWrite(9, HIGH);
delay(200); // Wait for 200 millisecond(s)
digitalWrite(9, LOW);
digitalWrite(8, HIGH);
}