Problem with LCD which working for a long time

Hi waski,
Thank you for your reply.I've tried the solution of putting the lcd.begin(16,2) command in the void loop() as I don't have relays in my circuit and the cables are short , the problem is completely solved.
Thank you again. :slight_smile: