   bool update;
   Command command;
   int incr;
-  
+
   Stepper(int stepPinIn, int dirPinIn, int enablePinIn,
           int minPinIn, int maxPinIn) {
     stepPin = stepPinIn;

/* bool yswitch() {} */
/* bool zswitch() {} */

/*
 * This function does not yet have any GCode parsing functionality,
 * it is currently only used for testing...
 */
bool parseGCode(String in) {
  if(in == "stopall") {
    Serial.println("TODO Implement");
    return true;
  } else if(in == "startall") {
    sX.testSpin(true, 360);
    return true;
  } else if(in == "?") {
    Serial.println("TODO Display info...");
    return true;
  }
  return false;
}


/*
 * Gets user serial input to be put into the parseGCode() function.
 */
void getSerialInput() {
  String out = "";
  char c;

  while(Serial.available()) {
      c = Serial.read();
      out.concat(c);
  }

  if(out != "") {
    if(!parseGCode(out)) {
      Serial.println("Invalid GCode entered!");
    }
  }
}

void setup() {
  // Begin serial connection
  Serial.begin(9600);

  // Print welcome message
  Serial.println("miscr v0.1 [enter \"?\" for commands and \"$\" for status]\n\n");

  sX.begin();
  sY.begin();
}

void loop() {

  }

  // TODO other motors
}
