Am using a pic16f877a to capture the width and the time period of a PWM signal using its CCP module.
The program can be done in Assembly.
I need to move in to MikroC.
Hi Anuradha1
First of all excuse me about my english.
last week i can do this project and write code in CCS. I upload code and Schematic in to this link. I hope these files can help you
It seems ur code produces a PWM signal using ccp module.
What I need is to use the CCP module to capture(detect) an externally given input to RC2.
Ur are using CCP pin in PWM mode while i need to use it in capture mode.