Hi. I have a doubt regarding picaxe08.
I'm currently doing a work with picaxe08 that consists in programing the speed control and direction of a motor (servo).
Here's the esquematic:
My principal doubt is: Can I use command pwm in picaxe08?
If yes, is this programation correct for what I'm trying to do?
loop:
servo 4,75 ; moves servo to one side
pause 2000 ; wait 2 seconds
servo 4,150 ; moves servo to central position
pause 2000 ; wait 2 seconds
servo 4,225 ; moves servo to the other side
pause 2000 ; wait 2 seconds
goto loop ; returns to the beggining
If not how Am I suposse to control the speed of the motor if I can't use pwm?
Cheers
Note: I don't know if this is in the wrong section. If it is sorry
I'm currently doing a work with picaxe08 that consists in programing the speed control and direction of a motor (servo).
Here's the esquematic:
My principal doubt is: Can I use command pwm in picaxe08?
If yes, is this programation correct for what I'm trying to do?
loop:
servo 4,75 ; moves servo to one side
pause 2000 ; wait 2 seconds
servo 4,150 ; moves servo to central position
pause 2000 ; wait 2 seconds
servo 4,225 ; moves servo to the other side
pause 2000 ; wait 2 seconds
goto loop ; returns to the beggining
If not how Am I suposse to control the speed of the motor if I can't use pwm?
Cheers
Note: I don't know if this is in the wrong section. If it is sorry
Last edited: