OK… looks like I could play with M226.
M226 waits until a pin’s value changes - you have to know the numer of the pin.
M43 allows you to display the pin’s value. I may find a pin matching with the user’s button.
These two exotic instructions are implemented in my shitty printer (from the documentation).
I have to try it.
You can insert any custom GCode at any layer, at least with PrusaSlicer. So check what your printer supports for changing filament and try that.
OK… looks like I could play with M226.
M226 waits until a pin’s value changes - you have to know the numer of the pin.
M43 allows you to display the pin’s value. I may find a pin matching with the user’s button.
These two exotic instructions are implemented in my shitty printer (from the documentation). I have to try it.