void setup() {
// put your setup code here, to run once:
pinMode(7, INPUT);
pinMode(5, OUTPUT);
pinMode(8, INPUT);
pinMode(2, OUTPUT);
pinMode(9, INPUT);
pinMode(3, OUTPUT);
pinMode(10, INPUT);
pinMode(4, OUTPUT);
randomSeed(analogRead(0));
}
void loop() {
// put your main code here, to run repeatedly:
digitalWrite(2, LOW);
digitalWrite(3, LOW);
digitalWrite(4, HIGH);
digitalWrite(5, LOW);
delay(350);
digitalWrite(5, LOW);
digitalWrite(2, LOW);
digitalWrite(3, LOW);
digitalWrite(4, LOW);
digitalWrite(5, LOW);
delay(350);
digitalWrite(2, LOW);
digitalWrite(3, HIGH);
digitalWrite(4, LOW);
digitalWrite(5, LOW);
delay(350);
digitalWrite(5, LOW);
digitalWrite(2, LOW);
digitalWrite(3, LOW);
digitalWrite(4, LOW);
digitalWrite(5, LOW);
delay(350);
digitalWrite(2, HIGH);
digitalWrite(3, LOW);
digitalWrite(4, LOW);
digitalWrite(5, LOW);
delay(350);
digitalWrite(5, LOW);
digitalWrite(2, LOW);
digitalWrite(3, LOW);
digitalWrite(4, LOW);
digitalWrite(5, LOW);
delay(350);
digitalWrite(2, LOW);
digitalWrite(3, LOW);
digitalWrite(4, LOW);
digitalWrite(5, HIGH);
delay(350);
digitalWrite(5, LOW);
digitalWrite(2, LOW);
digitalWrite(3, LOW);
digitalWrite(4, LOW);
digitalWrite(5, LOW);
delay(350);
}