mirror of
https://github.com/KevinMidboe/python-gpiozero.git
synced 2025-10-29 17:50:37 +00:00
Expand docs
This commit is contained in:
@@ -38,8 +38,8 @@ button = Button(pin=2, pull_up=False)
|
||||
|
||||
| Method | Description | Arguments |
|
||||
| ------ | ----------- | --------- |
|
||||
| `wait_for_press()` | Halt the program until the button is pressed. | `timeout=None` |
|
||||
| `wait_for_release()` | Halt the program until the button is released. | `timeout=None` |
|
||||
| `wait_for_press()` | Halt the program until the button is pressed. | `timeout` - The number of seconds to wait before proceeding if no event is detected. Default: `None` |
|
||||
| `wait_for_release()` | Halt the program until the button is released. | `timeout`- The number of seconds to wait before proceeding if no event is detected. Default: `None` |
|
||||
|
||||
### Properties
|
||||
|
||||
|
||||
Reference in New Issue
Block a user