Code:
movlw B'00000001'
movwf T1CON; enable timer 1
movlw low(d'50000')
movwf CCPR1L
movlw high(d'50000')
movwf CCPR1H
movlw B'00001011'; enable special event trigger on CCP1
movwf CCP1CON;
Sorry, I copied the code from a project that used the timer 1 oscillator.
Change the top line to be as shown above.
I've also made it clearer that the 50000 is decimal.
Mike.