 const int EEPROM_UNSET                      = 255;
 
 // Motor constants
-// const int MOTOR_MAX_RPMS                    = 150;
-const int MOTOR_MAX_RPMS                    = 60;
+const int MOTOR_MAX_RPMS                    = 150;
 const int STEPS_PER_REVOLUTION              = 200;
 const int MOTOR_SPEED_STEPS_PER_SECOND      = ( MOTOR_MAX_RPMS / 60 ) * STEPS_PER_REVOLUTION;
-// const int MOTOR_ACCEL_STEPS_PER_SEC_PER_SEC = 60;
-const int MOTOR_ACCEL_STEPS_PER_SEC_PER_SEC = 50;
+const int MOTOR_ACCEL_STEPS_PER_SEC_PER_SEC = 60;
 // Disable motor driver when stopped. 
 // Decreases power consumption and heat from motor.
 const bool MOTOR_DISABLE_ON_STOP            = true;

  // Set the motor target position i.e. number of steps to move
  long stepsToMove = revolutions * STEPS_PER_REVOLUTION;
  Motor.move(stepsToMove);
  
  // Local step counter
  long stepsMoved = 0;

  // Start stepping motor
  Serial.print("Starting to take steps: ");
  Serial.print(stepsToMove);
  Serial.print(" (");
  Serial.print(revolutions);
  Serial.println(")");
  while (true) {

    // Handle buttons to allow abort

  LightThreshDown = lightThreshDown == EEPROM_UNINIT_VALUE ? 100 : lightThreshDown;
  
  // Read revolutions to change from EEPROM
  // TODO Can we store a long in EEPROM like this?
  long revolutionsToChange = EEPROM.read(REVOLUTIONS_TO_MOVE_ADDRESS);
  RevolutionsToChange = revolutionsToChange == EEPROM_UNINIT_VALUE ? REVOLUTIONS_TO_CHANGE : revolutionsToChange;

