     str[5] = ':';
 
     // second
-    ret = rtc.getSecond();
+    ret = last_second;
     str[6] = ret / 10;
     str[7] = ret % 10;
 

const int32_t err_val = 200000;

////////////////////////////////////////////////////////////////////////////////

/* returns time-date string via param from rtc.
 * rtc should be at least 21 bytes long.
 */
void print_time_string(unsigned row)
{
    bool tmp1 = false;
    bool tmp2 = false;


        delay(50); /*ms*/
        if (digitalRead(pin) != default_state) {
            do {} while (digitalRead(pin) == !default_state); // wait for button releases
            delay(50);
            return true;
        }
    }
