SETFREQ and PWMOUT

Dave E

Senior Member
Since the PWM output runs continuously, will a change in frequency at another part of the program affect the PWM output?

In other words, will the code example below change the PWM output when setfreq M8 command is run?

setfreq M8
DO
code
code
code
setfreq M4
PWMOUT pin, period, duty
setfreq M8
code
code
LOOP

Thanks for the input,
Dave
 
Top