Code for the Arduino tutorial
