 
 unsigned long alarmLastStarted;
 
-
-RTC_DS1307 RTC;
-
-
 unsigned long timeLastPressedLeftButton;
 unsigned long timeLastPressedMiddleButton;
 unsigned long timeLastPressedRightButton;


}

void writeTimeToDisplayBuffer(DateTime now, boolean blinkOn, boolean secondsBlinkOn){
  uView.setCursor(0,0);
  uView.setFontType(7);

  String timeString = generateTimeString(now.hour(), now.minute(), blinkOn, secondsBlinkOn);
  uView.println(timeString);
}


    break;
  case SETTING_TIME:
    {
      switch(settingTimeProcess){
      case T_HOUR:
        setTime(getNextHourFromCurrentHour(hour(), true), minute(), second(), day(), month(), year());
        break;
      case T_MINUTE:
        setTime(hour(), getNextMinSecFromCurrentMinSec(minute(), true), second(), day(), month(), year());
        break;
      default: 
        break;

      }

      RTC.set(now()); 
    }


