Hi, I have a 18F16Q40 that is sending PWM signals to RC servos. I would like to temporarily disable the pulse streams without affecting the PWM register settings, but the PWM1CON bit 7 disable command clears everything. Does anyone have a good method of avoiding having to re-load everything when enabling? Thanks!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, I have a 18F16Q40 that is sending PWM signals to RC servos. I would like to temporarily disable the pulse streams without affecting the PWM register settings, but the PWM1CON bit 7 disable command clears everything. Does anyone have a good method of avoiding having to re-load everything when enabling? Thanks!
Set the PPS for that specific PWM to 0 and reset back in the code.
Thanks Anobium - I'll give that a try.