Not much luck reading DT_INTS-14. I do not understand ASM and all the macros that have been written.

Soooo I installed the two blinky programs and they both looked correct. I activated the LOGIC TOOL from PICKIT2 and looked carefully at the 20millisec square wave. Close enough for government work. Next I changed the
TOGGLE PORTC.6 'CONNECTED TO METER
command to

PWM PORTD.7, 127, 1
and hooked up Channel 2 of the LOGIC TOOL to PORTD.7.

I expected to see a single pulse every 20millisec. I even hoped that the pulse would be 1.5millisec long.

I see many pulses seemingly not related to the edges of the interrupt driven 50Hz square wave. I would show you all a picture, but my FastStone Capture is screwed up.

Is there any PWM-like command that makes one pulse ranging from 1millisec to 2millisec in 256 gradations?

Ken