void setup() {
// put your setup code here, to run once:
for(int i=5;i<13;++)
{
pinMode(i, OUTPUT);
}
}
void loop() {
// put your main code here, to run repeatedly:
for(int j=5;j<13,j++)
{
digitalWrite(j, HIGH);
delay(500);
}
for(int j=5;j<13;j++)
{
digitalWrite(j, LOW);
}
delay(500);
for (int j=12;j>4;j--)
{
digitalWrite((j HIGH);
delay(500);
}
for(int j=5;j<13;j++)
{
digitalWrite(j, LOW);
delay(500);
{}