Arduino code for my entry for the SparkFun AVC competition in 2014