Hh
Quote:
Originally Posted by MPaulHolmes
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.