int x = 13;
void setup() {
Serial.begin(115200);
for(int y =13;y>8;y=y-1) {
Serial.print(" y =");
Serial.println(y);
pinMode(y, OUTPUT);
}
}
void loop() {
Serial.println(x);
digitalWrite(x, HIGH);
delay(1200);
digitalWrite(x, LOW);
delay(1200);
x = x - 1;
if(x<=7){
x=13;
}
}