erco
Senior Member
My 20M2 robot (4 MHz) uses servo commands and PWM, not at the same time to avoid conflicts. I switch the servos off then immediately PWM a signal. It didn't work until I added a pause in between. Pause 200 worked for me, possibly less. Might save someone some grief in the future. I guess the internal timer takes a bit to shift gears.
servo 6, off
servo 7, off
pause 200 ' need a brief pause after switching servos off or PWM won't start
pwmout c.3, 199, 400
servo 6, off
servo 7, off
pause 200 ' need a brief pause after switching servos off or PWM won't start
pwmout c.3, 199, 400