 
 void loop() {
 
-  
-  
   // check if menu button pressed - enter delay time settings menu
   checkIfButtonPressed();
   

      tone(PIN_PIEZO, 100 + delayVal * 12, 100);
      // TODO: set delay value in EEPROM
      setDelayValue = true;
    }
  }
}

unsigned int delay_time_before_sunrise;
unsigned int delay_time_after_sunset;


/* Read EEPROM settings
 * Mainly just delay before/after sunrise/sunset. 
 * Additional settings may be added later.
 * Includes checksum verification for if the EEPROM starts to die after a while 
 * (unlikely but could cause serious havok)
 *  
 */
void readEEPROM() {

  // read eeprom values for sunrise and sunset delays
  byte sunrise_dt_v0 = EEPROM.read(SUNRISE_DT_0_P);
  byte sunrise_dt_v1 = EEPROM.read(SUNRISE_DT_1_P);
  byte sunrise_dt_c  = EEPROM.read(SUNRISE_DT_C_P);
