Homemade digital clock

Yesterday I made a clock using an arduino kit that I purchased for my “Creative Electronics for Beginners” class. It only counts from 0 to 9 and then repeats, but I love the satisfaction I get when I see it working.

I made a clock!
I made a clock! on Flickr.

I did happen to bump one of the LEDs just before I started taping, and discovered afterward that I had shorted one of the lights from the current. It just needed to be nudged slightly, but in the video it appears to be burnt out.

The code after the jump.