
Originally Posted by
ChrisHelvey
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.
If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
.
Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
.
There simply is no "Happy Spam" If you do it you will disappear from this forum.
Bookmarks