Code from the Arduino tutorial in the Coding Academy supplement.
