Skip to content

Latest commit

 

History

History
20 lines (18 loc) · 376 Bytes

wait_for_heating_based_on_pwm.md

File metadata and controls

20 lines (18 loc) · 376 Bytes
[pause_resume]

[gcode_macro WAIT_PWM]
gcode:
  {% if printer['heater_bed'].power|float > 0.4 %}
    PAUSE
    UPDATE_DELAYED_GCODE ID=DELAY_PWM DURATION=1
  {% else %}
    RESUME
  {% endif %}

[delayed_gcode DELAY_PWM]
gcode:
  {% if printer['heater_bed'].power|float > 0.4 %}
    UPDATE_DELAYED_GCODE ID=DELAY_PWM DURATION=1
  {% else %}
    WAIT_PWM
  {% endif %}