Results 1 to 10 of 17
Hybrid View
-
05-12-2015, 03:22 PM #1
Hi! I got your posts approved!
I believe the main line Marlin code at GitHub has the logic to handle a filament check now. But it might be tied to having an LCD Panel. I don't know. I haven't looked at that. But to your question, Yes, the check would have to be in the main loop somewhere. That is the only higher level piece of code that is always running.
This is a bit of hack... But it is how the LCD Panels do their work. When you see the filament run out, you could use the function:
bool enquecommand(const char *cmd)
in Marlin_main.cpp to put a M600 into the buffer and then just return back to the main loop. The main loop would think the M600 command was part of the .GCODE file that it was processing. It would blindly do as told and do a filament change.
New to 3d printing looking for...
05-20-2024, 12:56 AM in Tips, Tricks and Tech Help