     if (inChar == '\n') {
       stringComplete = true;
     } else {
-        if (inChar == ' ') {
+        if ((inChar == ' ') && (separator == false)) {
           separator = true;
         } else {
           if (separator) {
             inputValue += inChar;
+            val = true;
           } else {
             inputCommand += inChar;
+            com = true;
           }
         }
    }

    <CR>: Carriage return code; a terminator signifying the end of a command
    _: Space code: used to separate between the command and argument or between arguments


 */

String inputCommand = ""; // A string to capture the command before the space
String inputValue = "";  // A string to capture command value after space
String inputString = ""; // The raw Readline string

boolean stringComplete = false;  // whether the string is complete
boolean separator = false; // When a space is received

int led = 13; // An indication LED Pin
int res; // Response status

void setup() {
  // initialize serial:

  inputString.reserve(200); // Who knows
  inputCommand.reserve(20);  // These need to be short
  inputValue.reserve(20); //TODO: Stop appending if to many chars a rerecived.
  simVar.reserve(20);
  digitalWrite(led, LOW);
}

