Pic 18F2420 PWM Disable

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 2 and 3.

Moderators: Benj, Mods

Post Reply
Dirk Bubley
Posts: 99
Joined: Fri Feb 02, 2007 3:54 pm
Location: Germany
Has thanked: 14 times
Been thanked: 12 times
Contact:

Pic 18F2420 PWM Disable

Post 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

Post Reply