Keyestudio 4DOF Manual page 93

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

Advertisement

90
Test Code 2:
**************************************************************************************
#include <Servo.h>
Servo myservo1; // create servo object to control a servo
Servo myservo2;
Servo myservo3;
Servo myservo4;
int pos1=80, pos2=60, pos3=130, pos4=0;
void setup()
{
myservo1.attach(A1); // attaches the servo on pin 9 to the servo object

Advertisement

Table of Contents
loading

Table of Contents