void setup()

{

for(int i=6; i<=12; i++){

pinMode(i, OUTPUT);

}

 

 

}

 

void loop()

{

blink(11,10,9,8,0,0,0);

blink(0,10,9,0,0,0,0);

blink(6,7,9,10,11,12,0);

blink(7,8,9,10,11,12,0);

}

 

 

void blink(int a, int b, int c, int d, int e, int f, int g){

digitalWrite(a, HIGH);

digitalWrite(b, HIGH);

digitalWrite(c, HIGH);

digitalWrite(d, HIGH);

digitalWrite(e, HIGH);

digitalWrite(f, HIGH);

digitalWrite(g, HIGH);

delay(600);

digitalWrite(a, LOW);

digitalWrite(b, LOW);

digitalWrite(c, LOW);

digitalWrite(d, LOW);

digitalWrite(e, LOW);

digitalWrite(f, LOW);

digitalWrite(g, LOW);

delay(600);

}