     char inChar = (char)Serial.read();
     // add it to the inputString:
     inputString += inChar;
-    
+
     // if the incoming character is a newline, set a flag
     // so the main loop can do something about it:
     if (inChar == '\n') {

  // Wait 10 seconds before starting to give the ISP programmer a chance to kick in
  //  Will remove once the prog command is tested
  delay(10000);
  
  // initialize digital pin b2-b5 as input so they can be used as spi bus
  digitalWrite(PIN_SPI_SS, LOW);
  digitalWrite(PIN_SPI_MOSI, LOW);
  digitalWrite(PIN_SPI_MISO, LOW);
  digitalWrite(PIN_SPI_SCK, LOW);
  
  // SPI Pins are inputs
  pinMode(PIN_SPI_SS, INPUT);
  pinMode(PIN_SPI_MOSI, INPUT);
  pinMode(PIN_SPI_MISO, INPUT);
  pinMode(PIN_SPI_SCK, INPUT);

  
  inputString.reserve(200);  // Reserve space for incoming command
  Serial.begin(115200);      // open the serial port at 9600 bps:


     }
     Serial.print(CMD_OUT_DRIVE_MOTOR_RIGHT_SPEED+":"+Speed+","+Direction+"\n");
}
