Forkosh
- 21st October 2007, 00:44
I am using the PIC16F616
I modified two HS425BB servos for continuous rotation and I cannot get them to go counterclockwise. Every pulse that I give makes the servo spin clockwise ( but at different speeds based on the pulse).
What can I do to make it go counterclockwise????
Define OSC 8
symbol servo1=portc.3
symbol servo2=portc.2
x var byte
b var byte
pause 20
x = 50
b = 250
main:
pulsout servo1,x
Pulsout servo2,b
goto main
I modified two HS425BB servos for continuous rotation and I cannot get them to go counterclockwise. Every pulse that I give makes the servo spin clockwise ( but at different speeds based on the pulse).
What can I do to make it go counterclockwise????
Define OSC 8
symbol servo1=portc.3
symbol servo2=portc.2
x var byte
b var byte
pause 20
x = 50
b = 250
main:
pulsout servo1,x
Pulsout servo2,b
goto main