PDA

View Full Version : 2 PWM output



Md.Shah
- 9th October 2006, 08:21
What is the code to generate 2 PWM output for PIC16F877A. the second output is inverted with the first output.

DynamoBen
- 9th October 2006, 17:43
I'm using the 16F876A, which is similar and I just used the following two commands. I'm not sure what you mean by inverted.

HPwm 1,value,2000
HPwm 2,value,2000

mister_e
- 9th October 2006, 21:27
kind of half bridge i guess..
http://www.picbasic.co.uk/forum/showthread.php?t=4807

DynamoBen
- 9th October 2006, 22:38
So this is a double post. One or the other should be removed. (I don't like double posts)