2003-11-10 03:29 PM
2011-05-17 02:56 AM
Hi,
I guess you know that the polarity ( output high or low ) is controlled by the PWML bit in the PWMCON register, for PWM 0 and PWM 1. You also need to chek the CFG0 and CFG1 bits in the PWMCON register, as they too decide the output level. Hope this solves your problem. Regards, Bhushan2011-05-17 02:56 AM
Hi
I am trying to use two PWM ports at the same time. I initialized the PWM 0 and 1 and gave than the same duty cycle (255) In one port I received 5v and in the other 0v.I need that both outputs will be 0v. Thanks Kobi