[PIC] PIC16F877A PWM ON time and OFF time control

Status
Not open for further replies.

bhoobalan

Member level 1
Joined
Dec 28, 2013
Messages
35
Helped
1
Reputation
2
Reaction score
1
Trophy points
8
Visit site
Activity points
280
Hello friends,
I am using PIC16F877A. By "turn off" I mean only one PWM cycle after turn on. I want to control every PWM cycle and decide when it starts, and when it stops.

Please help me with example(codes)

Thank you
 

PWM by definition has an off time and an on time, if all you want to do is produce a single pulse on demand, the better method is to simply set your output pin high for the 'on' period then reset it low again.

Brian.
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…