View Single Post
Old 02-11-2013, 05:04 PM   #806 (permalink)
EcoModding Lurker
Join Date: Apr 2010
Location: Cali
Posts: 35
Thanks: 3
Thanked 4 Times in 3 Posts
Originally Posted by MPaulHolmes View Post
There was a catastrophic error in the AC code this whole time. It's a miracle that it was working at all. I had the following to ENABLE complementary output mode:

PWMCON1bits.PMOD1 = 1; //
PWMCON1bits.PMOD2 = 1;
PWMCON1bits.PMOD3 = 1; //

BUT, that was to DISABLE complementary output mode!! The deadtime wasn't working the whole time!
That is a bit of a futz xD

Poorly noted? Cus really unless its defined as a disable... 0 should be off sillies.

;p well, can't say its worse than my futzing = instead of == from time to time lol.
  Reply With Quote
The Following User Says Thank You to roguethunder For This Useful Post:
MPaulHolmes (02-11-2013)