CCPR1L=250;// from ~40 to 250
What the!!!! I told you that the CCPR1L register can only go up to 39!!! no further!!! 0 to 39... 18 will be your middle... You didn't take anything I said onboard... If you stick the code I gave you in your program it should work.