Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[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
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

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top