Picaxe :- Pwm motor controlling and servo scanning
June 3, 2010
I wish to connect 1 or more servos to a picaxe 28x1 .......with 2 motors controlled by pwm
So Far :-
I have managed to get two motors working with pwm control . (jumps on table in amazement - its my first picaxe enterprise)
I have used pins 12(pwm 1) and 13(pwm 2) for the motor control (with output 7,6,5,4 for direction ie via an Ld293 chip)
using pwmout ....... pwmduty commands - works well.........
My pressing Question :- How on earth do i connect a Servo ? ------ it beats me.........
when i issue servo commands - the servo is "silence" ...... not even a "dickie-bird", if i remove my pwm motor code - the servo works
2nd Question :- The hpwm command has 4 outputs - can you issue different pwm signals to each (the book says it not possibe as there is only 1 pwm out controlling the 4 hpwm outputs).....is this correct ?