         pch = strtok (NULL, ",");
       }
 
-      set_led_rgb(val[0], val[1], val[2], val[3], val[4]);
+      if(!firstLineRead)
+      {
+        firstLineRead = true;
+        interval = val[0];
+      }
+      else
+      {
+        set_led_rgb(val[0], val[1], val[2], val[3], val[4]);        
+      }
       
       line = "";
     }
   }
 
   myFile.close();
-
-  return 0;
 }
 
 void ShowGoomba()


void ShowPotValue()
{
  int val = analogRead(PIN_BRIGHTNESS);
  int numLedsToLight = map(val, 0, 1023, 0, 200);


    {
      int val[5];
      char *pch;
      pch = strtok ((char*)line.c_str(), ",");
      for(byte i = 0; i < 5; ++i)
      {
        if(pch == NULL)
