int iDelay;
void setup() {
// put your setup code here, to run once:
pinMode(10, OUTPUT);
digitalWrite(10, LOW);
pinMode(9, OUTPUT);
digitalWrite(9, LOW);
pinMode(8, OUTPUT);
digitalWrite(8, LOW);
pinMode(7, OUTPUT);
digitalWrite(7, LOW);
iDelay = 125;
}
void loop() {
// put your main code here, to run repeatedly:
digitalWrite(10, HIGH);
delay(iDelay);
digitalWrite(10, LOW);
delay(iDelay);
digitalWrite(9, HIGH);
delay(iDelay);
digitalWrite(9, LOW);
digitalWrite(8, HIGH);
delay(iDelay);
digitalWrite(8, LOW);
digitalWrite(7, HIGH);
delay(iDelay);
digitalWrite(7, LOW);
}