MeArm 2 stops one peg demo servo speed and direction by Kimosubby

Cloned from Sketch Servo direction and speed control copy copy by Kimosubby

MeArm robot arm with variable servo speed and end points
This sketch can run up to 8 servos at one time. For this sketch there are 4 in the robot arm. This small sketch picks up a small wood peg, transfers it to the opposite side of 180 degree half circle and places it down. Arm travels to centre, waits, then returns to pick up the peg and puts it back to the original start point. It then travels to the centre and stays a while, then repeats the cycle again.

Embed This Sketch

Use the following HTML code to embed the sketch code above in your blog or website.

<iframe style="height: 510px; width: 100%; margin: 10px 0 10px;" allowTransparency="true" src="https://codebender.cc/embed/sketch:339053" frameborder="0"></iframe>

Embed The Serial Monitor

You can also embed the Serial Monitor section! Just use this HTML code.

<iframe style="height: 510px; width: 100%; margin: 10px 0 10px;" allowTransparency="true" src="https://codebender.cc/embed/serialmonitor" frameborder="0"></iframe>