Spider Quadruped Robot

Hello Guys,

I am using an arduino mega and servo motors to make a walking robot. It is more like a spider quadropode. I tried writing some codes but they don’t seem to work properly. The peripherals(legs) move all together at once but i want them to move one after the other. I will attach the codes so that you could check them and come up with a working solution.

Thanks for help.

regards
amew.

Final Code.txt (9.66 KB)

Post your code in code tags.