Set CCP module to full-bridge mode...For 50% duty cycle, CCPR1L should be half of PR2Code:CCP1CON = %01001100 'set the CCP1CONAdded: For Full-bridge mode, you'll probably need to change the PWM1CON value to limit transition currents.Code:PR2 = 124 'SET FREQ CCPR1L = 62 'set to 50% duty cycle
hth,
Bookmarks