
18 Make: Robotic Arms
first time, we see code above the void setup. This first line of code is what’s
known as a library file. There are all kinds of amazing Arduino libraries,
and they will often be written to support specific hardware like screens and
sensors. In this case, the line #include “Servo.h” tells the Arduino IDE to
look for the file “Servo.h”. The .h here stands for “header file,” which refers
to a common file type within the C++ programming language, which is at
the core of Arduino programming. This servo library provides us with some
specific tools and commands, often called methods, to control our servos.
The next line of code ...