# Include your custom_postgui HAL commands here
# This file will not be overwritten when you run stepconf again

# Filtering and scaling...
setp encoder.1.counter-mode true
setp encoder.1.position-scale 1
setp scale.0.gain 60
setp lowpass.0.gain .07
net spindle-index encoder.1.phase-A
net spindle-vel-rps-low-res encoder.1.velocity => lowpass.0.in

net spindle-rps-filtered-low-res lowpass.0.out scale.0.in 
net spindle-rpm-filtered-low-res scale.0.out
net spindle-rpm-filtered-low-res gmoccapy.spindle_feedback_bar

net spindle-rpm-filtered-low-res => spindle-at-speed.in2
net spindle-ready => gmoccapy.spindle_at_speed_led

