x. Impulse width measurement: ECCP PWM Meter Example for PIC18F2550, PIC18F24J50 and PIC18F26J50