My incredibly simple Arduino code for my secret santa gift: http://gyromatic.blogspot.com/2014/01/summary-and-postmortem-my-ticking.html