Page 1 of 1

Pic 18F2420 PWM Disable

Posted: Sun Nov 02, 2008 8:02 pm
by Dirk Bubley
Hello together,

iΒ΄m working with the PWM generator at PIC 18F2420.

Everything is fine!! Starting and setting the PWM (Duty Cicle + Freqency) works.

....except PWM disable has no function. Once the PWM ist started you can`t turn it off again!!

Any ideas

BR

Dirk Bubley


:shock: ....i found the solution. You must set in PWM disable th nldx(byte) to 1.
This will shut down the PWM output. Unfortunatly the output stays high after switch off.

BR Dirk