Created
December 1, 2022 10:14
-
-
Save rootiest/c9e716341d02747f3e2b155745c9981d to your computer and use it in GitHub Desktop.
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 characters
[gcode_macro TEST_STATE] | |
gcode: | |
{% if printer.idle_timeout.state == "Printing" %} | |
RESPOND MSG="We are printing" | |
{% endif %} | |
RESPOND type=error MSG="State: {printer.idle_timeout.state}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment