myservo.write(0); // angle value
delay(1000);
}
*******************************************************************************
Test Result:
Stack the drive shield onto V4.0 board and connect the servo
motor, upload the code, plug in power and press the reset
button. Then the servo will automatically rotate to 0°.
Automatic Movement
Description:
In the previous section, you have learned to set the servo
angle. In fact, we just need to continually change angles of 4
servo, thus make the 4DOF robot arm operate different
motions.
Hookup Guide:
89