     } while (dupes > 0);
     
     onLeds[i] = randNo;
+    Serial.println(randNo);
   }
+  Serial.println("------");
   for (int i=0; i<delayLoop(noLeds); i++)
   {
     turnOn(onLeds, noLeds);

void loop() {
  // Generate a random number of leds
  int noLeds = (int) random(1,5);
  // Serial port slows things down
  // remove this when tuning for delays is done
  Serial.println(noLeds);
  Serial.println("-------------");
  int onLeds[noLeds];
  // get the first random number
  onLeds[0] = (int) random(1,5);
  int dupes, randNo;
  for (int i=1; i<noLeds; i++)
  {

 */
void reset()
{
  pinMode(3, OUTPUT);
  pinMode(5, OUTPUT);
  pinMode(6, OUTPUT);
  pinMode(9, OUTPUT);
  pinMode(10, OUTPUT);
  pinMode(11, OUTPUT);
  digitalWrite(3, LOW);
  digitalWrite(5, LOW);
  digitalWrite(6, LOW);
  digitalWrite(9, LOW);
  digitalWrite(10, LOW);
  digitalWrite(11, LOW); 
