docs: update gpio documentation
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
parent
2298f6b5a7
commit
06a3f932ba
|
@ -26,6 +26,7 @@ The format is based on [Keep a Changelog].
|
|||
- **deps**: Added support for optional `msgspec` and `uvloop` packages
|
||||
- **extensions**: Agents may now register remote methods with Klipper
|
||||
- **file_manager**: Add `check_klipper_config_path` option
|
||||
- **button**: Added `debounce_period` option
|
||||
|
||||
### Fixed
|
||||
|
||||
|
@ -64,6 +65,7 @@ The format is based on [Keep a Changelog].
|
|||
- **proc_stats**: Improved performance of Raspberry Pi CPU throttle detection.
|
||||
- **power**: Bound services are now processed during initialization when
|
||||
`initial_state` is configured.
|
||||
- **gpio**: Migrate from libgpiod to python-periphery
|
||||
|
||||
## [0.8.0] - 2023-02-23
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue