
if (++ms10 >= 100) {   // a whole second
    ms10 = 0;
    if (seconds) seconds--;
    else LED = off;
}