Darrel,

Is there a better way to output a 82Hz PWM single than using your software routine. Your routine works perfect however I also need to read a frequency of 0-1kHz at the same time. With the resolution of 256 steps @ 82Hz its pretty interrupt hungry.

Here's what I'm trying to accomplish

TMR1 is being used for SPWM - 0-24VDC @ 82Hz
TMR2 is being used for HPWM - 0-10VDC

If I use the COUNT command it works perfect, only if I disable the interrupts though. This in turn kills the SPWM which I can't have happen. Any suggestions? Not looking for a hand out by any means, just some help pointing in the right direction. The best way to learn is do it yourself I believe.