Thanks again, Henrik. Do you mean I should have:

Code:
    CCP4CON.4 = 0
    CCP4CON.5 = 0
    CCPR4L    = 0
before the CCP4CON register setting?

I will try that out tonight, as well as reducing the PAUSE statements.