Hi All
I am using 16F72 for a PWM application. I am using the hardware PWM module . I can see the PWM wave at the pin CCP1 and it is perfect. But when the CCP1 goes high i need to make RC0 and RC1 high and RC4 and RC5 low. And whenever CCP1 goes low , and i need to reverse these RC0 , RC1, RC4 and RC5.
Now the CCP1 going high can be tracked using the TMR2IF flag. But how do i track when CCP1 goes low ? CCP1 goes low when there is a dutycycle match with the TMR2 , but i cannot find or think of any way to track that.
I hope you all can help me in this.
Thanks in advance
Regards
Sudip