Hi,
I don't know what the "best" way to aproach this actually is. I don't think me posting hundreds or thousands of lines of code is going to actually help others that much and I don't think I'll get much out of it either.
Instead I think I'll post snippets and routines, explaining what they do (or at least intend to do) and why. This way I think it's easier to tag along, one step at the time and, which is important,
...
Re: 16Bit 125KHz PWM with PIC12F1572
what did you try , post your code
richard Today, 02:14all those calc's are for a 20MHz clock if you use a different OSC then they must be recalculated
the internal OSC is not brilliantly accurate and could...