Code for the book Programming Arduino: Getting Started with Sketches