yes, i remove the pause statement because i think adding it causing the pwm duty longer then the original pwm duty, hence changing my pwm pattern.
can we actually pause below 1 ms since i know pause statement can only be use for minimum 1ms right??
correct me if im wrong

when you tries on the real physical PIC, do you enable the pause statement??
i will try on real physical PIC later and feedback to you tmrw.

photoelectirc