cdb wrote: > I am using pin RC1 as a PWM output. > > In the program setup I initialise PR2 and set CCPRL2 to zero, RC1 has > previously been set up as an output. I do not switch the PWM module on > in this part of the code. So the bottom 4 bits of CCP2CON are 0? That should disconnect PWM from RC1. Cheers, Bob -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist