 // If revolutions is positive, door goes up; if negative, door goes down.
 void moveDoor(long revolutions) {
   // Set the motor target position i.e. number of steps to move
-  long revs = revolutions * STEPS_PER_REVOLUTION;
-  Motor.move(revs);
-
-  enableMotor();
+  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

  byte lightThreshDown = EEPROM.read(LIGHT_THRESH_DOWN_ADDRESS);
  LightThreshDown = lightThreshDown == EEPROM_UNINIT_VALUE ? 100 : lightThreshDown;
  
  // Display greeting on LCD for 1 second
  delay(1000);
  updateLCD();

}

// Main program loop

#include <Wire.h>
#include <RTClib.h>

#define DEBUG 1
// Set to 1 if you want to force setting of RTC to compilation time.
// You probably want to set this back to 0 then reflash the device when done.
#define FORCE_SET_RTC 0
