kvrajasekar
Junior Member level 3
Hi,
I am using 16f72 ccp1 in compare mode.
I dont know how it works,I initialised TIMER1 as counter and CCP1 as compare mode.
preparing microchip manual i did the following.
1.loaded CCPR1L=0x30
CCPR1H=0x02
2.timer1 :
TMR1L=0x28mTMR1H=0x45
I wantt to set output on compare match.How can i do this.please help me.
-Regards,
raja.
I am using 16f72 ccp1 in compare mode.
I dont know how it works,I initialised TIMER1 as counter and CCP1 as compare mode.
preparing microchip manual i did the following.
1.loaded CCPR1L=0x30
CCPR1H=0x02
2.timer1 :
TMR1L=0x28mTMR1H=0x45
I wantt to set output on compare match.How can i do this.please help me.
-Regards,
raja.