aboutsummaryrefslogtreecommitdiffstats
path: root/config/example-extras.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'config/example-extras.cfg')
-rw-r--r--config/example-extras.cfg39
1 files changed, 33 insertions, 6 deletions
diff --git a/config/example-extras.cfg b/config/example-extras.cfg
index a75f8b10..6adf0592 100644
--- a/config/example-extras.cfg
+++ b/config/example-extras.cfg
@@ -1249,19 +1249,46 @@
# using encoder. This parameter must be provided when using menu.
#click_pin:
# The pin connected to 'enter' button or encoder 'click'. This parameter
-# must be provided when using menu.
+# must be provided when using menu. The presence of an 'analog_range_click_pin'
+# config parameter turns this parameter from digital to analog.
#back_pin:
# The pin connected to 'back' button. This parameter is optional, menu
-# can be used without it.
+# can be used without it. The presence of an 'analog_range_back_pin'
+# config parameter turns this parameter from digital to analog.
#up_pin:
# The pin connected to 'up' button. This parameter must be provided
-# when using menu without encoder.
+# when using menu without encoder. The presence of an 'analog_range_up_pin'
+# config parameter turns this parameter from digital to analog.
#down_pin:
# The pin connected to 'down' button. This parameter must be provided
-# when using menu without encoder.
+# when using menu without encoder. The presence of an 'analog_range_down_pin'
+# config parameter turns this parameter from digital to analog.
#kill_pin:
-# The pin connected to 'kill' button. This button will call
-# emergency stop.
+# The pin connected to 'kill' button. This button will call emergency stop.
+# The presence of an 'analog_range_kill_pin' config parameter turns this
+# parameter from digital to analog.
+#analog_pullup_resistor: 4700
+# The resistance (in ohms) of the pullup attached to the analog button.
+# The default is 4700 ohms.
+#analog_pin_debug:
+# When enabled it will output analog (ADC) button readings to the log.
+# It's useful for finding analog button resistance range values.
+# The default is False (disabled)
+#analog_range_click_pin:
+# The resistance range for a 'enter' button. Range minimum and maximum
+# comma-separated values must be provided when using analog button.
+#analog_range_back_pin:
+# The resistance range for a 'back' button. Range minimum and maximum
+# comma-separated values must be provided when using analog button.
+#analog_range_up_pin:
+# The resistance range for a 'up' button. Range minimum and maximum
+# comma-separated values must be provided when using analog button.
+#analog_range_down_pin:
+# The resistance range for a 'down' button. Range minimum and maximum
+# comma-separated values must be provided when using analog button.
+#analog_range_kill_pin:
+# The resistance range for a 'kill' button. Range minimum and maximum
+# comma-separated values must be provided when using analog button.
# Custom thermistors (one may define any number of sections with a