i really don't understand how to use the XOUT command.i just want to send the pwm signal at several time delay.lets say 1ms...so,is that correct if i use the following coding:

define osc 8
TRISC = 0 'PORTC all outputs

main:

PR2 = 15 'Load Period Register
CCPR1L = 8 'Set 50% duty cycle
T2CON.2 = 1 'Start TIMER2

CCP1CON = %1100 'PWM on
PAUSE 1 'generate 1ms burst
CCP1CON = 0 'PWM off

end