 {
   for(int i = 0; i < NUM_LEDS; i++)
   {
-    blink(led(i), BLINK_MILLIS);
+    blink(i, BLINK_MILLIS);
     delay(BLINK_MILLIS);
-    blink(led(i), BLINK_MILLIS);
+    blink(i, BLINK_MILLIS);
     delay(BLINK_MILLIS);
-    blink(led(i), BLINK_MILLIS);
+    blink(i, BLINK_MILLIS);
     
     delay(1000);
   }

const int BLINK_MILLIS = 50;
const int NUM_LEDS = 6;
const int LEDS[NUM_LEDS] = {13, 12, 11, 10, 9, 8};



void blink(int ledNumber, int millisOn)
{
  int pin = led(ledNumber);
  digitalWrite(pin, HIGH);
  delay(millisOn);
  digitalWrite(pin, LOW);
}

void setup(void) 
