Ok, got it, needed to reset time_old each ~hour.
if(time_new - time_old >= (1 * 1000UL )) //shortened for debug
{
hours++;
time_old = time_new; //new line
Serial.println(hours);
}
Ok, got it, needed to reset time_old each ~hour.
if(time_new - time_old >= (1 * 1000UL )) //shortened for debug
{
hours++;
time_old = time_new; //new line
Serial.println(hours);
}