servo positons
izbin88
Posts: 4
I'm doing the slowServoSignalForLed.bs2 program in the what's a microcontroller book. here is the code
'What's a microcontroller - SlowSignalForLed.bs2
'Slow down the servo signals to 1/10 speed so that we can see
'the Led indicator blink on/off.
' {$STAMP BS2}
' {$PBASIC 2.5}
counter VAR Word
FOR counter = 1 TO 15
PULSOUT 14 , 800
PAUSE 200
NEXT
When I run the code sometimes the servo jerks back and forth around the "800" position. Is this supposed to happen?
'What's a microcontroller - SlowSignalForLed.bs2
'Slow down the servo signals to 1/10 speed so that we can see
'the Led indicator blink on/off.
' {$STAMP BS2}
' {$PBASIC 2.5}
counter VAR Word
FOR counter = 1 TO 15
PULSOUT 14 , 800
PAUSE 200
NEXT
When I run the code sometimes the servo jerks back and forth around the "800" position. Is this supposed to happen?
Comments
BTW, this might not work with all servos. It should be okay with Parallax (Futaba) servos. Other brands? No telling.
In any case, though, it's just an exercise in watching the servo move slowly. You wouldn't really do it this way other than a simple demo.
-- Gordon