     setupLCD();//Print axis names to LCD
   } //if doLCD
 
-  if (doSerialInterface){
-     Serial1.begin(115200);
-  } //if doSerialInterface
+
 }//End of setup function 
 
 

  Serial.begin(115200);
  if (doSerialInterface){
    if (!controlViaUSB){
       Serial1.begin(115200);
       SerialComms = &Serial1;
     } else {
        SerialComms = &Serial;

//
// The setup function performs basic operations such as defining the DIO direction of each pin, 
// connecting to a serial device, etc. 
HardwareSerial* SerialComms;
#define HARDWARE_SERIAL_PORT Serial1

void setup() {

  //Initialise loop counters
