Appendix B All of the Code

For reference, and for those who wish to program their Arduino by typing the code by hand, I’ve printed every sketch used in this book below, listed by chapter.

Updates to the code, and copyable code blocks (for those who’d rather not type it out) are also available at

Finally, every sketch used in “Family Projects for Smart Objects” is also available as a zipped-up bundle you can download for free. Here’s how:

  • Use a web browser to visit
  • Your browser should start downloading the file.
  • Once it’s done, navigate to your “Downloads” folder.
  • If your browser hasn’t done it already, unzip the file called, which is usually done ...

Get Family Projects for Smart Objects now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.