       waitForUserResetOpen();
     }
   } else {
-    Serial.print("Checking if door opened at night time.");
+    DEBUGLN("Checking if door opened at night time.");
     
     // if up switch is pressed at day time
     digitalWrite(PIN_DOOR_UP, HIGH);
     if(digitalRead(PIN_LIMSW_UP) == HIGH){
       hit_top = true;
-      Serial.print("Hit bottom!");
+      DEBUGLN("Hit bottom!");
     }
     delay(1);
     digitalWrite(PIN_DOOR_UP, LOW);

  }

  if(eeprom_success == 0x11){
    Serial.println("EEPROM read successfully.");
  }
}


  lcd.clear();
  lcd.setCursor(0, 0);
  lcd.print("Opening door");
  DEBUGLN("Opening the door..");
  // send high to door open motor pin
  digitalWrite(PIN_DOOR_UP, HIGH);

  byte timeoutcount = 0;

  // loop until limit switch is hit (also add timeout)
  DEBUGLN("Waiting for door to open");
  while(digitalRead(PIN_LIMSW_UP) == LOW){
    wdt_reset();
    delay(DELAY_MS);
    timeoutcount++;
    if(timeoutcount > TIMEOUT_MAX){
      ERRLN("\nERROR! door not closing properly. Check limit switch.\n");
      ERRLN("Pretending that it's closed for now..");
      couldnt_open_door = true;
      break;
    }
    DEBUG(".");
  }
  if(timeoutcount <= TIMEOUT_MAX){
    couldnt_open_door = false;
  }
  hit_top = true;
  DEBUGLN();

  // send low to door open motor pin
  digitalWrite(PIN_DOOR_UP, LOW);

  DEBUGLN("Door opened!!");
  // set door is open bool to true
  door_open = true;

