   }
 };
 
-Stepper::Stepper(int stepPinIn, int dirPinIn, int enablePinIn,
-                 int minPinIn, int maxPinIn) {
-  stepPin = stepPinIn;
-  dirPin = dirPinIn;
-  enablePin = enablePinIn;
-  minPin = minPinIn;
-  maxPin = maxPinIn;
-  update = false;
-  incr = 0;
-
-  pm(stepPin, OUTPUT);
-  pm(dirPin, OUTPUT);
-  pm(enablePin, OUTPUT);
-  dw(enable, LOW);
-}
 
 // Initialise Steppers
 //         stepPin | dirPin | enablePin | minPin | maxPin 

  bool update;
  Command command;
  int incr;

  //void step(double times) {}
  void testSpin(bool clockwise, int amount) {
    if(clockwise)

 public:
  int pin;
  int times; // TODO double data type for half-steps
  Command() {
    pin = 0;
    times = 0;
  }
};

/*
 * Stepper class, defines pins, whether it should be updated and a few control
