Here is a bit of code that will allow you to control the 2 top servo's found in this video:
https://www.youtube.com/watch?v=4oEpHHu5Z18
https://www.youtube.com/watch?v=4oEpHHu5Z18
Code:
init:
servo 1,75
servo 2, 225
main:
if pin3 = 0 then goto main
Open:
servopos 1,225
servopos 2, 75
pause 3000
hold:
if pin3 = 0 then goto hold
servopos 1, 75
servopos 2, 225
pause 3000
goto main
Last edited: