     static byte last_second;
     if (last_second == rtc.getSecond()) {
         // No update needed
+        LOGLN("RTC No update needed");
         return;
     }
+    last_second = rtc.getSecond();
 
     //print_clock(); // Optional
 


    // hour
    ret = rtc.getHour(tmp1, tmp2);
    str[0] = ret / 10;
    str[1] = ret % 10;

    str[2] = ':';

    // minute
    ret = rtc.getMinute();
    str[3] = ret / 10;
    str[4] = ret % 10;

    str[5] = ':';

    // second
    ret = last_second;
    str[6] = ret / 10;
    str[7] = ret % 10;

    str[8] = ' ';
    str[9] = ' ';

    // day
    ret = rtc.getDate();
    str[10] = ret / 10;
    str[11] = ret % 10;

    str[12] = '.';

    // month
    ret = rtc.getMonth(tmp1);
    str[13] = ret / 10;
    str[14] = ret % 10;

    str[15] = '.';


                case 5: val = rtc.getYear();      lcd.setCursor(18, line); break;
                default: break;
            }
            if (pos > 5) { //exit setup function
              break;
            }
            continue;
