my first binary clock not working

Hint: It's related to -

    munit = minute	% 10;
    hunit = hour	% 10;

and the display of 'minute' and 'hour'.