Arduino sketch. Based on project 02 in the starter kit.