>>Show how you've set up the CCPxCON and CCPRx registers. Using Pic Basic Pro el crappo.... DEFINE HPWM2_TIMER 2 ' timer 2 select DEFINE CCP1_REG PORTC DEFINE CCP1_BIT 2 DEFINE HPWM1_TIMER 2 DEFINE CCP2_REG PORTB DEFINE CCP_BIT 3 and initialization registers CCP1CON = %00001100 'PWM mode CCP2CON = %00001100 'PWM mode __________________________________________________ the following applies to change the duty cycle and output pulse HPWM 1,255,2000 Jason -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist