Examples from Getting Started With Arduino 2nd Edition