MeArm servo control step C by Kimosubby

Cloned from Sketch MeArm servo control step B by Kimosubby

MeArm robot arm with 4 stops and 3 pegs placement various speeds.
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 pegs, 3 pegs and 4 locations, and transfers them about moving a different peg each time to any vacant location. eventually the whole cycle repeats.

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:340371" 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>