Skip to content

Instantly share code, notes, and snippets.

@varunmehta
Last active June 6, 2025 00:31
Show Gist options
  • Save varunmehta/ead6ec0cdd650b1c83ec80f13254753b to your computer and use it in GitHub Desktop.
Save varunmehta/ead6ec0cdd650b1c83ec80f13254753b to your computer and use it in GitHub Desktop.
runout.cfg
[filament_switch_sensor runout_sensor]
pause_on_runout: True
runout_gcode:
M117 Out of Filament
M600
insert_gcode:
M117 Resuming
event_delay: 3.0
pause_delay: 0.5
switch_pin: !PC15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment