 
 // Global
 String BUFFER = "";
-String BUFFSTORE = "";
 char DELIMETER = ':';
 int LED = 13;
 int TIME_START = 0;
 
 // Defaults
 String TYPE = "blink";   // blink, pulse
+int LOOP = 3;            // 3, 2, 1
 int TIME = 100;          // 500, 250, 100, 50 (milliseconds)
-int LOOP = 3;            // 3, 2, 1
 int REPT = 15000;        // 30000, 15000, 5000, 3000 (milliseconds)
 boolean REPEATING = false;
 

      // get a value
      if(BUFFER[i+1] == ':') {
        if(index == 0) {
          type = buff;
          index++;
        }
        else if(index == 1) {
          looper = buff.toInt();
          index++;
        }
        else if(index == 2) {
          time = buff.toInt();
          index++;
        }
        buff = "";


void loop()
{
  // read from bluetooth
  if(btSerial.available()) {
    while(btSerial.available()) {
      BUFFER += (char)btSerial.read();
      delay(1);
    }
    
    Serial.println("BUFFER: "+BUFFER);
    String buff = "";
