Passage of Time with Buttons

Adding buttons to the passage of time project. I have them sharing the same power source and initially had them sharing the same ground. However, this did not work because one button would trigger the other. A quick trip to the Arduino site solved that. Each has its own ground with a resistor on it. This allows the buttons to read up to about 515, since they are sharing the same power source. Pressing the buttons in different combinations yields different results, red on, red off, white on, white off and if both red and white are on, a little surprise for you.

I forgot to show it in the video, but I have a toggle switch for the power inside the container, which is simply cutting the ground for all of the leds. This means that the Arduino still runs after the power toggle is turned off.

Check out the vid.

http://vimeo.com/moogaloop.swf?clip_id=3430520&server=vimeo.com&show_title=1&show_byline=1&show_portrait=0&color=ff9933&fullscreen=1
Passage of Time with Buttons from Nick Hardeman on Vimeo.

Here is the Download Code
.