Merging filament sensor related code.

This commit is contained in:
Bassam Husain
2023-03-12 01:32:40 -05:00
parent 3c84c049c8
commit 69a5cbc45c
2 changed files with 35 additions and 10 deletions

View File

@@ -220,6 +220,15 @@ shutdown_value: 0
pwm: True
cycle_time: 0.0005 ; Default beeper tone in kHz. 1 / 0.0005 = 2000Hz (2kHz)
[filament_switch_sensor filament_sensor]
switch_pin: !PA4 # "Pulled-high"
pause_on_runout: True
insert_gcode:
M117 Insert Detected
runout_gcode:
M117 Runout Detected
BEEP i=3 dur=300 freq=400
#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#