dkoch83 / Marlin-1.1.9_Anycubic_Chiron

Anycubic Chiron Firmware based on Marlin-1.1.9
GNU General Public License v3.0
32 stars 19 forks source link

FilamentRunout causes message flickering on NEW Anycubic DISPLAY (DARK BLUE) #18

Open illuminati05 opened 1 year ago

illuminati05 commented 1 year ago

Hey dkoch83. Is there a bugfix for the new TFT at the Chiron which fixes the issue, that if a filament runout is recognized, the message for runout on the display is very fast flickering and cannot quit by the user. I tried to quit the message after pulling back filament to the sensor. The old display didn't have this issue.

I looked at chiron_lcd.cpp:318 --> void FilamentScan() --> it looks like the message appears/dissapears with the speed of a fast loop.

illuminati05 commented 1 year ago

There is one way to solve this problem. In file chiron_lcd.cpp:226 the function "FilamentScan()" will be executed every time the processor passes (very fast). At chiron_lcd.cpp:318 the message will be triggered permanently if the sensor reads a brake. Problem: The reason why the messages flickers is because the new display (DARK MODE) resets the message and show it every time you send this message code to the display. The old display (WHITE MODE) has no problem. My solution: Uncomment "write_to_lcd_P(PSTR("J15\r\n")); // J15 FILAMENT LACK" and the problem is solved. BUT you will not get a message in IDLE states (non printing) if the filamentsensor reports a brake. The function for filament change if the sensor reports a brake in printing mode STILL works !!! TESTED with old and new DISPLAY !!! Maybe there is another fix, like polling it every 5s seconds and show the message