Warning, /frameworks/syntax-highlighting/autotests/input/klipper.cfg is written in an unsupported language. File is not indexed.
0001 [tmc2130 stepper_x] 0002 diag1_pin: ^!PA1 # TMC DIAG1 0003 driver_SGT: -64 # 63 0004 gcode: 0005 {% set target = params.BED_TEMP|int %} 0006 {% set current = printer.heater_bed.temperature %} 0007 0008 {% if current < target - 20 %} 0009 G4 P{ 5 * 60 * 1000 } #Milliseconds to dwell 0010 {% else %} 0011 G4 P{ 1 * 60 * 1000 } 0012 {% endif %} 0013 G92 E0 # Reset Extruder 0014 G1 Z2.0 F3000 # Move Z Axis to travel height 0015 ACCEPT 0016 [gcode_macro blink_led] ; comment 0017 description: Blink my_led one time 0018 gcode: 0019 SET_PIN PIN=my_led VALUE=1 0020 G4 P2000 0021 SET_PIN PIN=my_led VALUE=0