Controlling multiple servos
prestonaltree
Posts: 6
I am building a robot for an upcoming high school science fair and I need programming tips for running two continuous servo motors at the same time:
1) (in the same direction)
2) (in different directions)
1) (in the same direction)
2) (in different directions)
Comments
do
pulsout pin, speed
pulsout pin2, speed2
pause 20
loop
If you have extra programming to do, shorten the 20ms pause and add your extra code there.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Pi Guy