         return;
     }
 
-    loopCount += 1;
-    debugVars(loopCount);
-
-
-    if (readString == "r") {
+    if (readString == "... ") {
         if (lastString.length() <= 0) {
             Serial.println((String) "Command not saved");
             return;

#define BLINKLED_OFF()  (digitalWrite(BLINKLED, LOW))

IRsend irsend;

void debugVars(int loopCount) {
    Serial.println((String) "loop " + loopCount);
}

int loopCount = 0;

void setup() {
    Serial.begin(115200); //You may alter the BAUD rate here as needed


    while (Serial.available()) {
        delay(3);  //delay to allow buffer to fill
        if (Serial.available() > 0) {
            char c = Serial.read();  //gets one byte from serial buffer
            readString += c; //makes the string readString
        }
