On Tue, 16 Apr 2013 18:15:35 +1200 IVP wrote: > I could only suggest checking that IE flags are still set during > PWM and that the port pin you've chosen to monitor IRQ > activity is set to be an output Thanks for the suggestions... I've been suffering with this problem all morning. I even imported the program in MPLAB X, and there it runs completely as foreseen: the interrupts _are_ generated, the interval is correctly 125 us, the=20 debug outputs change as planned. The port is an output, which I can notice with the oscilloscope. It is really low continually. Cheers, John --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .