Problems faced in PIC16F877A

Post your requests and ideas on the future development of mikroC.
Post Reply
Author
Message
meesuresh
Posts: 4
Joined: 11 Sep 2009 07:42

Problems faced in PIC16F877A

#1 Post by meesuresh » 04 Feb 2010 12:07

I have to use one switch,when i will press this switch then CCP1 PWM should be initiated with duty cycle 60% and when we will again press the same switch then it will get stop the CCP1. Also, the PWM at CCP1 will be of around 15Khz will be come for 1 minute and then stops for 30 seconds and then again it comes for 1 minute and so on till the same switch is pressed again.

So, please provide me the solution for this at the earliest. The sample program which i am using to initiate the PWM is as attached.

Post Reply

Return to “mikroC Wish List”