I am trying to use a LCD in 4 bit mode to display a clock and it works well but LCD shows strange charactors once PIC is reset by using MCLR pin. I should reset power of both PIC and LCD to bring LCD back to normal. Can some one please explain how above problem can be solved ?
I assume that you are using an industry standard Hitachi HD44780 compatible LCD. The dataheet has detailed instructions how to perform a reset without cycling the LCD power.