docs: update gpio documentation

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Eric Callahan
2023-12-20 11:02:44 -05:00
parent 2298f6b5a7
commit 06a3f932ba
2 changed files with 9 additions and 4 deletions

View File

@@ -2295,10 +2295,13 @@ pin: gpiochip0/gpio26
# ^!gpiochip0/gpio26
# ~!gpiochip0/gpio26
# This parameter must be provided
minimum_event_time: .05
# The minimum time (in seconds) between events to trigger a response. This is
# is used to debounce buttons. This value must be at least .01 seconds.
# The default is .05 seconds (50 milliseconds).
debounce_period: .05
# The time (in seconds) an event is delayed to debounce the response.
# The minimum debounce period is .01 seconds. The default is .05 seconds.
minimum_event_time: 0
# The minimum event duration (in seconds) required to trigger a response.
# This can be used as a secondary debounce procedure. The default is 0
# seconds (no minumum duration).
on_press:
on_release:
# Jinja2 templates to be executed when a button event is detected. At least one