Hi All
I want to use CCP Module to measure the frequency of the signal coming at RC2(CCP1 pin). This frequency will change and I want to measure the change as it happens.
I have my code attached for you all to give me some suggestion as to where I am going wrong.
Right now,the output I get is in 16000, which is way more than expected 65.
Please HELP ! Im terribly lost !
Here is my code.
I am using PIC18F4620 on PICDEM2 plus board.
I want to use CCP Module to measure the frequency of the signal coming at RC2(CCP1 pin). This frequency will change and I want to measure the change as it happens.
I have my code attached for you all to give me some suggestion as to where I am going wrong.
Right now,the output I get is in 16000, which is way more than expected 65.
Please HELP ! Im terribly lost !
Here is my code.
I am using PIC18F4620 on PICDEM2 plus board.
Last edited: