PIC16F873 - Changing CCP1 value but not affecting frequency
Posted: Fri Nov 14, 2014 5:54 pm
Hi,
I'm using the Compare function to generate variable frequencies depending to a value read from PortB. I write to CCP1 to establish the default frequency and this works fine. While running I write to CCP1 again to change the freq but no effect. I read the CCP1 reg and output the value to PORTC. The CCP1 value is changing with the PortB reading but the interrupt frequency does not change???
Any ideas why this is possible??
Hopefully,
Jeff
asmboy
Joined: 20 Nov 2007 Posts: 2128 Location: albany ny
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