   Keyboard.begin();
   String entry = client.readStringUntil('\r');
   String message = entry;
-//  Keyboard.println(entry);//h131/pa/r-1
+//  Serial.println(entry);//h131/pa/r-1
   do {
   //  delay(2000);
     delimiter = message.indexOf('/');
     if(delimiter != -1) {
       command = message.substring(0,delimiter);
-//      Keyboard.println(command);//h131
+//      Serial.println(command);//h131
       action = command.charAt(0);
-//      Keyboard.println(action);//h
+//      Serial.println(action);//h
       key = command.substring(1,command.length());
-//      Keyboard.println(key);//131
+//      Serial.println(key);//131
       message = message.substring(delimiter+1, message.length());
-//      Keyboard.println(message); //pa/r-1 
+//      Serial.println(message); //pa/r-1 
       keySequence(action,key);
     }
     else {
       if (message.length() > 0) {
         action = message.charAt(0);
-//        Keyboard.println(action);
-        key = message.substring(1,command.length());
-//        Keyboard.println(key);
+//        Serial.println(action);
+        key = message.substring(1,message.length());
+//        Serial.println(key);
         keySequence(action,key);
       }
-    }   
+    }
+    delay(200);   
   }
   while(delimiter >=0);
   Keyboard.end();


  digitalWrite(13, HIGH);
  Keyboard.begin();
//  Keyboard.println(entry);
  delay(1000);
  Keyboard.end();
  digitalWrite(13, LOW);

  pinMode(13, OUTPUT);
  digitalWrite(13, LOW);
  Bridge.begin();
  Serial.begin(9600);

  // Listen for incoming connection only from localhost
  // (no one from the external network could connect)
