 /**
  * Writes debug info to serial
  */
+#if DEBUG
 void debug() {
   Serial.print('[');
   Serial.print(Now.hour(), DEC);

const int MODE_MAX                          = MODE_SET_CLOCK_OPEN_MIN_THRESH;

// Door positions
const int DOOR_POSITION_UNKNOWN = 0;
const int DOOR_POSITION_UP      = 1;
const int DOOR_POSITION_DOWN    = 2;
const int DOOR_POSITION_MAX     = DOOR_POSITION_DOWN;
const int DOOR_POSITION_MIN     = DOOR_POSITION_UNKNOWN;

// Door motion directions
const int DOOR_STATIONARY       = 0;
const int DOOR_MOVING_UP        = 1;
const int DOOR_MOVING_DOWN      = 2;

// EEPROM addresses
const int DOOR_POSITION_ADDRESS           = 0;
const int CURRENT_MODE_ADDRESS            = 1;
const int LIGHT_THRESH_DOWN_ADDRESS       = 3;
const int LIGHT_THRESH_UP_ADDRESS         = 4;
const int CLOCK_HOUR_THRESH_UP_ADDRESS    = 5;
const int CLOCK_MIN_THRESH_UP_ADDRESS     = 6;
const int CLOCK_HOUR_THRESH_DOWN_ADDRESS  = 7;
const int CLOCK_MIN_THRESH_DOWN_ADDRESS   = 8;
const int EEPROM_UNSET                    = 255;

// Motor constants
const int MOTOR_RPMS            = 60;
const int STEPS_PER_REVOLUTION  = 200;

// Number of ticks beyond threshold to wait before changing door position
const int LIGHT_THRESH_TICKS_TO_CHANGE = 100;
// Number to change the light threshold by per button press
const int LIGHT_THRESH_CHANGE_INCREMENT = 20;

// Number of minutes to increment per click
const int CLOCK_MIN_INCREMENT = 15;

// Door-specific constants
// Number of revolutions to fully change door position
const int REVOLUTIONS_TO_CHANGE = 100;

// Pins
// Arduino Uno / Buttons


  Serial.println();
}
#endif
