 RGBLamp lamps[4];
 
 void setup() {
+  
+  Serial.begin(9600);
+  randomSeed(analogRead(15));
+  
   // use a for loop to initialize each pin as an output:
   for (int pin = 2; pin < 14; pin++)  {
     pinMode(pin, OUTPUT);

  for (int lamp = 0; lamp < 4; lamp++) {
    int col[] = {random(0, 255),random(0, 255),random(0, 255)};
    lamps[lamp].setColor(col);
  }
  
  // Sleeps for 2 seconds to test the output before moving on

    // Sets all lamps to fade to a random color
    for (int lamp = 0; lamp < 4; lamp++) {
      int col[] = {random(0, 255),random(0, 255),random(0, 255)};
      lamps[lamp].fade(5000, col);
    }
  }
}
