Sample code from RobotsConf 2013 Wiring, Soldering and Prototyping session