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.