mirror of
https://github.com/bassamanator/Sovol-SV06-firmware.git
synced 2025-11-08 13:31:16 +00:00
More changes pulled from personal. Added filament sensor pinout.
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
#####################################################################
|
||||
# Find my instructions here:
|
||||
# https://github.com/bassamanator/rp2040-zero-adxl345-klipper
|
||||
# ADXL345 related Settings
|
||||
# https://www.klipper3d.org/Measuring_Resonances.html#adxl345
|
||||
#####################################################################
|
||||
|
||||
[mcu RP2040]
|
||||
|
||||
@@ -14,10 +14,10 @@ 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
|
||||
[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
|
||||
|
||||
@@ -218,3 +218,12 @@ value: 0
|
||||
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
|
||||
CONDITIONAL_BEEP i=3 dur=300 freq=400
|
||||
|
||||
Reference in New Issue
Block a user