Keyestudio 4DOF Manual page 28

Robot arm kit
Hide thumbs Also See for 4DOF:
Table of Contents

Advertisement

25
b. Initialize the right servo
Attach this left servo to G, V and S(A0)of servo motor driver
shield, upload the following code, plug in power and press
the rest button on the V4.0 board. Then the left servo rotates
to 0°
Set the servo to 0°:
****************************************************************
#include <Servo.h>
Servo myservo; // create servo object to control a servo

Advertisement

Table of Contents
loading

Table of Contents