Keyestudio 4DOF Manual page 131

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

Advertisement

www.keyestudio.com
Test Code 6:
#include <Servo.h> // add the servo libraries
Servo myservo1; // create servo object to control a servo
Servo myservo2;
Servo myservo3;
Servo myservo4;
int pos1=80, pos2=60, pos3=130, pos4=0; // define the variable of 4 servo angle and assign the
initial value( that is the boot posture angle value)
const int right_X = A2; // define the right X pin to A2
128

Advertisement

Table of Contents
loading

Table of Contents