for (int thisPin = 0; thisPin < sizeof(ledPins); thisPin++) {
// turn the pin on:
digitalWrite(ledPins[thisPin], HIGH);
delay(timer / 2);
// turn the pin off:
digitalWrite(ledPins[thisPin], LOW);
for (int thisPin = 0; thisPin < sizeof(ledPins); thisPin++) {
// turn the pin on:
digitalWrite(ledPins[thisPin], HIGH);
delay(timer / 2);
// turn the pin off:
digitalWrite(ledPins[thisPin], LOW);