Keyestudio 4DOF Manual page 22

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

Advertisement

#include <Servo.h>
Servo myservo; // create servo object to control a servo
void setup()
{
Serial.begin(9600);
delay(1000);
}
void loop()
{
myservo.attach(6); // Change pin to adjust one by one
myservo.write(180); //Angle
delay(1000);
}
****************************************************************
19

Advertisement

Table of Contents
loading

Table of Contents