Created
April 12, 2022 18:02
-
-
Save wbatty/50c28f176c75b650f40724894f54b5b4 to your computer and use it in GitHub Desktop.
Revisions
-
wbatty created this gist
Apr 12, 2022 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ [gcode_macro TOGGLE_LIGHTS] gcode: {% if printer['output_pin caselight'].value %} SET_PIN PIN=caselight VALUE=0 {% else %} SET_PIN PIN=caselight VALUE=1 {% endif %}