int x;
void setup()
{ for (x=2;x<=9;x++)
pinMode(x, OUTPUT);
}
void loop() {
//1
/* for(x=2;x<=9;x++){
digitalWrite(x,1);
delay(500);
digitalWrite(x,0);
}*/
//2
/*
for(x=2;x<=9;x++){
digitalWrite(11-x,1);
delay(500);
digitalWrite(11-x,0);
}*/
/*
for(x=2;x<=9;x++){
digitalWrite(x,1);
digitalWrite(11-x,1);
delay(500);
digitalWrite(x,0);
digitalWrite(11-x,0);
}*/
}