   now = rtc.now();
   drawAdjustTime(0);
   bool set_time_dt_val = false;
-  byte deltaTimeMins = 0;
+  char deltaTimeMins = 0;
   while(!set_time_dt_val){
     wdt_reset();
     deltaTimeMins = updatetime_valLoop(deltaTimeMins);

#define DELAY_MS 10
#define MAX_DELAY_MINUTES 100
#define DOOR_RETRY_SECONDS 10
#define MAX_TIMEDELTA_MINS 240
#define MIN_TIMEDELTA_MINS -240

// Pins
#define PIN_ENC_A     7

}

// read encoder and update time delta value on LCD
char updatetime_valLoop(char prev){
  encState eState = encoder.read();
  if (eState == ENC_DEC) {
    prev--;
    tone(PIN_PIEZO, 100 + prev * 12, 25);
    drawAdjustTime(prev);
  } else if (eState == ENC_INC) {
    prev++;
    tone(PIN_PIEZO, 100 + prev * 12, 25);
    drawAdjustTime(prev);
  }
