MeArm servo control 4 stops and 3 pegs plus count-down display copy by Kimosubby

Cloned from Sketch MeArm servo control 4 stops and 3 pegs plus count-down display 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 servos 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. A counter is added so that there is a delay introduced to extend battery life and inform viewers of next cycle beginning.

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