 #define Y_MIN_PIN          14
 #define Y_MAX_PIN          15
 
-#define MIN_DELAY          10 // minimum timer tick
+#define MIN_DELAY          100 // minimum timer tick
 
 // these are initialized in reset()
 int stepsize;

int varDelayY;
int moveX;
int moveY;
int timerX;
int timerY;
boolean stateX;
boolean stateY;
int timerTick;
 
void setup() {
    pinMode(X_ENABLE_PIN, OUTPUT);

      Serial.println("r reset");
}

void readNumber() {
    str = "";
    while (true) {
      if (Serial.available()) {
        byte c = Serial.read();
        if (c >= '0' && c <= '9') str += (c - '0');
        else break;
      }
    }
}

void loop() {  
    if (Serial.available()) {
        byte r = Serial.read();

