Created any-printer branch.

This commit is contained in:
Bassam Husain
2023-03-27 18:18:13 -04:00
parent 38cabc7513
commit eb029fe891
12 changed files with 50 additions and 399 deletions

View File

@@ -14,14 +14,15 @@ path: /home/pi/printer_data/gcodes
[pause_resume]
[display_status]
[delayed_gcode DISABLEFILAMENTSENSOR]
initial_duration: 1
gcode:
SET_FILAMENT_SENSOR SENSOR=filament_sensor ENABLE=0
# NOTE If you have a filament sensor, uncomment the following 4 lines
# [delayed_gcode DISABLEFILAMENTSENSOR]
# initial_duration: 1
# gcode:
# SET_FILAMENT_SENSOR SENSOR=filament_sensor ENABLE=0
[gcode_macro _globals]
variable_filament_sensor_enabled: 0 # NOTE Enable(1) or disable(0) the filament sensor, if one is connected
variable_beeping_enabled: 1 # NOTE Enable(1) or disable(0) beeping everywhere except during gantry calibration
variable_filament_sensor_enabled: 0 # NOTE Enable(1) or disable(0) the filament sensor (if you have a sensor configured in your printer.cfg)
variable_beeping_enabled: 0 # NOTE Enable(1) or disable(0) beeping (if you have a beeper pin set in your printer.cfg)
variable_pre_purge_prime_length: 1.4
gcode:
SET_GCODE_VARIABLE MACRO=_globals VARIABLE=pre_purge_prime_length VALUE={ variable_pre_purge_prime_length }