  tensDigitLCD(now.hour());
  lcd.print(":");
  tensDigitLCD(now.minute());
-  if(isDayTime){  
+  if(isDayTime){
     lcd.setCursor(0, 1);
     lcd.print("Sunset:  ");
     tensDigitLCD(sunset[tl_hour]);


  byte sunrise_dt_c_calc = CKSUM_SECRET ^ sunrise_dt_v0;
  sunrise_dt_c_calc ^= sunrise_dt_v1;
  
  int precalc_sunrise_c = SUNRISE_DT_C_V;
  
  Serial.print("Sunrise checksum is supposed to be: ");
  Serial.println(precalc_sunrise_c);
  Serial.print("Calculated checksum: ");
  Serial.println(sunrise_dt_c_calc);

  if(sunrise_dt_c_calc != precalc_sunrise_c){
    Serial.println("Writing defeault values for sunrise delay.");

    EEPROM.write(SUNRISE_DT_0_P, SUNRISE_DT_0_V);
    EEPROM.write(SUNRISE_DT_1_P, SUNRISE_DT_1_V);
    EEPROM.write(SUNRISE_DT_C_P, SUNRISE_DT_C_V);
    Serial.println("Done.");
  }

  byte sunset_dt_c_calc = CKSUM_SECRET ^ sunset_dt_v0;
  sunset_dt_c_calc ^= sunset_dt_v1;

  int precalc_sunset_c = (int)SUNSET_DT_C_V;
  
  Serial.print("Sunset checksum is supposed to be:");
  Serial.println(precalc_sunset_c);
  Serial.print("Calculated checksum: ");
  Serial.println(sunset_dt_c_calc);

  if(sunset_dt_c_calc != precalc_sunset_c){
    Serial.println("Writing default values for sunset delay.");
    EEPROM.write(SUNSET_DT_0_P, SUNSET_DT_0_V);
    EEPROM.write(SUNSET_DT_1_P, SUNSET_DT_1_V);
    EEPROM.write(SUNSET_DT_C_P, SUNSET_DT_C_V);
    Serial.println("Done.");
  }
}


#define PIN_LIMSW_UP  A2
#define PIN_LIMSW_DN  A3

// Button settings
#define DEBOUNCE_MS 20
#define PULLUP false
#define INVERT false

#define DEFAULT_SUNRISE_PD_MINS 20
#define DEFAULT_SUNSET_D_MINS   30

