- Thu Aug 27, 2009 6:36 pm
#79787
Hi there,
I am doing a project where I plan on using a timer to make a PWM output. What I am wondering is if there is a way to get a second complimentary out as well. This is being used to drive a full H-Bridge circuit and as such I need one PWM driving one side while a complimentary version drives the other side.
I can feed the PWM out to an unsed input pin setup for interrupt, then simple use another output pin and drive an inverted signal out, but this could in essence affect the precision of the RTC (but not likely). I am just wondering if there is a better way to do this or not. Any ideas?
Thanks
Todd
I am doing a project where I plan on using a timer to make a PWM output. What I am wondering is if there is a way to get a second complimentary out as well. This is being used to drive a full H-Bridge circuit and as such I need one PWM driving one side while a complimentary version drives the other side.
I can feed the PWM out to an unsed input pin setup for interrupt, then simple use another output pin and drive an inverted signal out, but this could in essence affect the precision of the RTC (but not likely). I am just wondering if there is a better way to do this or not. Any ideas?
Thanks
Todd