Bill is right! From the datasheet, it seems possible to access the bit that controls pin assignment. Datasheet indicated that everything will pause when the write is taking place, and then continues from where it left off. No restart was mentioned.
Still, I am now thinking twice abt doing that, as I am concerned an unexpected power-off after changing the pin to RB3 would mess up the MCU.
Unfortunately, I could not find a 40-pin DIP package that has 3 CCP modules.
Now I am thinking of using the same RC1 pin for my purpose :
1) Backlight brightness control of LCD module using PWM (Default behaviour)
2) Capture of pulses generated by a photodiode, TSL230R (When required)
View attachment CCP2 Design..pdf
My questions are :
1) When RC1 is generating PWM to drive the LCD module, will it damage or cause problem to the photo-diode?
2) When RC1 is capturing the pulses generated by the photo-diode, will it damage or cause problem to the LCD module?
Thks!