Skip to content

Instantly share code, notes, and snippets.

// #include <Stepper.h>
#include <Servo.h>
Servo base;
Servo baseopp;
Servo firstjoint;
Servo secondjoint;
Servo gripper;
// Stepper rotate=Stepper(200,8,9,12,13); Commented out because the stepper was not included in final project.
int basepos = 90; //position of the base servo
int firstjointpos=90;