Keeping accurate time

Constantin:
"const int oneSecond = 1000000;"

Can this work? I'd like to think you need a long for such a big number. Beyond that, wouldn't one have to use 1000000L?

OOPS! (Well, I told you it was untested code.)

Okay, so try:

uint32_t lastTime = 0;
const long oneSecond = 1000000L;

void loop(void)
{
  if ((micros() - lastTime) >= oneSecond) {
    lastTime += oneSecond;
    digitalClockDisplay();
  }
  ......
}