Hello all forum users,
Please be kind as this is my first post. I am working with a PIC18F24K22 microcontroller and can not seem to get the CCP4 capture to work. I have worked with the ccp capture with a PIC16 in the past and have not had any problems, and have gotten the ccp1 to work with this PIC18. I cannot though get the ccp4 capture to work as I need this to work on pin RB0 with my program. I have read the datasheet section for the ccp and written my code which works with the ccp1 but in converting over to the ccp4 will not work.
Can someone tell me by looking at my code included here as ccp4_code.txt, if I have done, or forgotten, something wrong.
Thanks in advance,
Sherri
Please be kind as this is my first post. I am working with a PIC18F24K22 microcontroller and can not seem to get the CCP4 capture to work. I have worked with the ccp capture with a PIC16 in the past and have not had any problems, and have gotten the ccp1 to work with this PIC18. I cannot though get the ccp4 capture to work as I need this to work on pin RB0 with my program. I have read the datasheet section for the ccp and written my code which works with the ccp1 but in converting over to the ccp4 will not work.
Can someone tell me by looking at my code included here as ccp4_code.txt, if I have done, or forgotten, something wrong.
Thanks in advance,
Sherri
Attachments
-
3.7 KB Views: 13