Quote Originally Posted by CocaColaKid View Post
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.
I'm sure there's a way to get what you need, but can you give me some more info to work with.

Which PIC?
What OSC?
How many SPWM channels?
What Freq is HPWM running at?
Is Timer0 available?
Which Pin is the 0-1khz on, and can it be moved?
Can whatever is on the T0CKI pin be moved?
Does it HAVE to be 82hz?
<br>