diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2020-09-09 14:16:42 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2020-09-09 14:21:30 -0400 |
commit | fc85675145c858e2817d6c10f73029fd4aab4b9e (patch) | |
tree | cf5fe2b3ad8c6398ff8e0aa8c38a4ecb032ebee8 /config | |
parent | 13ee6032ae28a4a8dfc1e194c2b5c73e66674df3 (diff) | |
download | kutter-fc85675145c858e2817d6c10f73029fd4aab4b9e.tar.gz kutter-fc85675145c858e2817d6c10f73029fd4aab4b9e.tar.xz kutter-fc85675145c858e2817d6c10f73029fd4aab4b9e.zip |
gcode_button: Add support for analog buttons
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'config')
-rw-r--r-- | config/example-extras.cfg | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/config/example-extras.cfg b/config/example-extras.cfg index 02647458..ce981c7e 100644 --- a/config/example-extras.cfg +++ b/config/example-extras.cfg @@ -1330,6 +1330,14 @@ #pin: # The pin on which the button is connected. This parameter must be # provided. +#analog_range: +# Two comma separated resistances (in Ohms) specifying the minimum +# and maximum resistance range for the button. If analog_range is +# provided then the pin must be an analog capable pin. The default +# is to use digital gpio for the button. +#analog_pullup_resistor: +# The pullup resistance (in Ohms) when analog_range is specified. +# The default is 4700 ohms. #press_gcode: # A list of G-Code commands to execute when the button is pressed. # G-Code templates are supported. This parameter must be provided. |