Software > Software

two servo

(1/1)

555 timer chip guy:
I can control one servos gust fine but when I go to control two servos they don't respond.
I am programing in PBASIC can some one help :'(

dunk:
i doubt if any one can without seeing your code.

also try measuring the voltage supplying your servos. maybe the draw from 2 is too much for your power source.

dunk.

sdk32285:
dunk, your not psychic....?

dunk:
o no, i am psychic but i don't know PBASIC.
i could psychicly look at 555 timer chip guy's code all day in my head if i wanted to....

dunk.

555 timer chip guy:
I figured it out, here it is for anyone that has the same problem. 8)




' {$STAMP BS1}
' {$PBASIC 1.0}

SETUP:
SYMBOL i = W1

MAIN:
i = 100
PULSOUT 6, i
PAUSE 10
i = 200                 '100 200 IS REVERS 200 100 IS FORWORD 100 100
                           '100 100 AND 200 200 IS TERN RIGHT OR LEFT
PULSOUT 7, i
PAUSE 10
GOTO MAIN

Navigation

[0] Message Index

Go to full version