> HPWM 1,55,2000 ' RC2/CCP1 = 2kHz @ 50% duty > HPWM 2,127,2000 ' RC1/CCP2 = 2kHz @ 21% duty > ^_____ change this value to adjust duty cycles Sorry. Should read; HPWM 1,55,2000 ' RC2/CCP1 = 2kHz @ 21% duty HPWM 2,127,2000 ' RC1/CCP2 = 2kHz @ 50% duty -Bruce http://www.rentron.com -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist