Yeah, I gave it some thought and looked at the datasheet schematics for the pins RB3 and RA4.. I was going to suggest driving RB3 with a test program in the same way you were driving RA4, so as to isolate the PWM section and point the finger at the pin driver. Good to hear it was solved. --=20 James Cameron http://quozl.linux.org.au/ --=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 .