I'm using a PIC16F88 with and LED connected to B3 which I have set to PWM. I can verify functionality of this pin via o-scope. I have an input that is pulled high on B0 and ever since I enabled the PWM on B3, I get noise on B0! Is this because PWM can be configured to either B3 or B0? My Fuse setting is CCPB3. Ideally I had an optical detector on B0, but even disconnected I'm getting noise.
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
Posted: Fri Jul 13, 2007 12:07 am
Because pin B3 is also the PGM pin, I have to ask this question:
Do you have the NOLVP fuse set ? If not, you need to set it.
Add it to your #fuses statement.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum