I did a little hacking this evening:
And then this happened:
So I'm pretty happy with that. There's just one bug I can't figure out... The first second after startup, the tenth digit cycles way, way fast. The next second it operates normally. I don't know why.