Creating a jumping clock

you posted a snippet, you get a snippet:

if (tm.tm_min % 5 == 0 && previousMM != tm.tm_min) {
  previousMM = tm.tm_min;
  display.clear();
  display.print(tm.tm_hour);
  display.print(':');
  display.print(tm.tm_min);
}

if it doesn't work for you read

If you still can't get it working - read again chapter 6 bullet 5.

2 Likes