Even More Example Code SparkFun Robotic Arm

March 3, 2013
Tags: ,

This code allows you to control the arm with serial commands. ┬áThe keys 1-6 are used to control the servos. /* Robot console This code will control the arm via serial commands */ #include Servo.h Servo servo1; //base-pan Servo servo2; //arm-tilt Servo servo3; //claw void setup() { Serial.begin(9600); servo1.attach(9); //pan range is 20 to 140 […]

0