
Robot Magic: Beginner Robotics for the Maker and Magician 19
error instead, go back and make sure everything is
copied exactly from the text and try again.
UNDERSTANDING THE CODE
Now that your sketch is compiled, let’s break down
the code for you to understand.
Any light grey text you see in your sketch is a “comment,”
which is there for your reference only and will be ignored
by the Arduino board. Comments are a chance to make
notes in between the code. I use comments to help me
remember what a certain line of code means without
affecting the code itself. Single line comments can be
created by typing // at the beginning of a line. Everything ...