Quote Originally Posted by ChrisHelvey View Post
Assuming a PIC with at least 2 PWM channels, can someone suggest a quick way to output two PWMs exactly 180 degrees out of phase with each other?

I can do it by turning alternating pins on and off but there's no CPU left to do anything else without messing up the waveform.

Trying not to recreate the wheel...or maybe it's so obvious I can't see the answer.

Thanks
Hardware ways, flip flop, inverter, transistor . . . since you do not want to burden PIC.