void main(){

TRISIO = 0b00000000;

CMCON0 = 0x07;

PWM1_Init(5000);

PWM1_Set_Duty(255);

PWM1_Start();

while(1){

Delay_ms(500);

PWM1_Set_Duty(127);

Delay_ms(500);

PWM1_Set_Duty(63);

Delay_ms(500);

PWM1_Set_Duty(31);

Delay_ms(500);

PWM1_Set_Duty(255);

}

}