Results 1 to 10 of 25
Thread: Garbled LCD screens
Threaded View
-
08-22-2014, 05:34 PM #7
Looking good. Should someone want to add the display auto-recovery, here's the change. In file ultralcd.cpp, look for...
Code:#ifdef ULTIPANEL static void lcd_return_to_status() { encoderPosition = 0; currentMenu = lcd_status_screen; }
Code:#ifdef ULTIPANEL static void lcd_return_to_status() { encoderPosition = 0; currentMenu = lcd_status_screen; lcd_implementation_init(); // added; reinitialize the display module to recover from garbled display mode if happening }
FOLLOWUP COMMENT: Looking into the LCD code some more, I see the same lcd_implementation_init is already included as part of software detecting SD card insertion and removal. That code even has a comment with it that talks about how it is an attempt to recover the display from a possible static discharge. So, for a printer standing around doing nothing, just inserting or removing the SD card will also reinitialize the display module, without having to make this change.
Last edited by printbus; 08-24-2014 at 03:24 AM. Reason: code tags!
New to 3d printing looking for...
05-20-2024, 12:56 AM in Tips, Tricks and Tech Help