5DOF Robotic Arm Kit for Ardunio Uno R3 - Tutorial

Table Of Contents
46
7. After successfully running the program, you will observe the movement of the
servo.
2.4.2 Learning the code program of this lesson
Create servo object to control a servo.
In the setup() function, attach the servo on pin 9 to servo object; back to 0 degrees;
wait for a second.
In the loop() function, respectively control Servo to turn to different angles.