 
 void ResetClock()
 {
-  for (uint32_t* x = 0; x <= maximumEepromAddress; x++)
+  for (uint32_t* x = 0; x < eepromSize; x++)
   {
     eeprom_write_dword(x, 0xFFFFFFFF);
   }

  lcd.print(secondsOfOperation);
  
  lcd.setCursor(1, 0);
  lcd.print(F("LOC: "));
  lcd.print((uint32_t)nextClockBufferLocation);
}


const int potentiometerCeiling = 1000;
const float gearRatio = 2.0;
// ATMega328P has 1024 bytes of EEPROM and we're addressing it as DWORDS
const uint32_t* eepromSize = (uint32_t*)1024;

// Switches using the Bounce library for debouncing
Bounce onOffSwitch = Bounce();
