A possibility : If you changed the power supply also, meaning that if you are using this new PIC in another circuit, then the contrast level of LCD has also changed; thus you get either too dim or too dark on LCD.

Adjust the contrast pot.



----------------------------