Hello all, I'm programming a PIC16F716, in PWM mode. The PWM is really doing what it should be doing, at the correct frequency etc. In that F716, the PWM mode uses Timer2. I programmed this timer to also generate interrupts, i.e.: - enabled TMR2IE - enabled PEIE - enabled GIE But no interrupts are generated. (to check, I added a bsf/bcf of a port bit, and connected the scope there) (and yes, I reset TMR2IF in the interrupt routine) I did this trick with an F873A a while ago, and there were no=20 problems with this 'dual' use of timer2 (PWM and interrupt). Is there anything else I should be aware of? 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 .