double led;
double i;
double j;

void fnc_dynamic_digitalWrite(int _pin, int _e){
	pinMode(_pin,OUTPUT);
	digitalWrite(_pin,_e);
}

void secuencia() {
  for (int count = 0; count < 12; count++) {
    for (led = 2; led <= 9; led=led+1) {
      fnc_dynamic_digitalWrite(led, HIGH);
      delay(90);
    }
    for (led = 2; led <= 9; led=led+1) {
      fnc_dynamic_digitalWrite(led, LOW);
      delay(90);
    }
  }
}

void setup() {
    led = 2;
}


void loop() {
    secuencia();
}	
$abcdeabcde151015202530fghijfghij