     if (command == 'h') {
       homeing = true;
     }
-
+    if (command == 'E') {
+      enable();
+    }
+    if (command == 'e') {
+      disable();
+    }
   }
 }
-

      if (motor == 'Y') {

        stepperY.setMaxSpeed(speed);
      }          
      if (motor == 'X') {

        stepperX.setMaxSpeed(speed);

#include <AccelStepper.h>
#include <TimerOne.h>

//(type, step pin, direction pin)
AccelStepper stepperX(AccelStepper::DRIVER, 5, 4);
