[HELP] LED arduino 2650 clock using RTC

  while (!digitalRead(ONE_HZ_SW))[color=#222222][/color]
  {[color=#222222][/color]
  }

The above code might be freezing your loop. When you open serial monitor, the arduino will reset.