AnsweredAssumed Answered

Best way to zero the PWM output?

Question asked by ThorMJ on Jan 8, 2013
Latest reply on Jan 9, 2013 by AudeR

I've inverted the PWM (BIT5), so that I get high-going modulated pulses on PWM2 (I don't care about the other ones).

If I set PWM1COM1 = PWM1COM0, the waveform gets inverted and mostly high.


I was thinking about turning it on/off via GP1CON (BIT16 for PWM), but I was wondering if there was a better way...