Binary-Coded Decimal LED Clock

H 8 4 2 1 0
H 8 4 2 1 0
M 8 4 2 1 0
M 8 4 2 1 0
S 8 4 2 1 0
S 8 4 2 1 0
Visit GitHub and look at the source code.