Introduction - If you have any usage issues, please Google them yourself
Method to generate sinewave PWM module with TMR2 at 100 ticks (20uS)
giving 100 possible PWM resolution steps. However sine table goes from
14 to 86 PWM or a total height range of 73 steps. Sine table has 50
entries over one full 1kHz cycle (20uS per entry). Because the PIC and
the sine math table produce a sinewave with good basic shape it can be
easily filtered by a passive RC filter to make a sinewave with xtal locked
freq accuracy and very low sine distortion.