2
0
mirror of https://github.com/pikvm/pikvm synced 2024-11-18 09:25:43 +00:00

Update gpio.md

This commit is contained in:
Maxim Devaev 2020-11-10 05:36:49 +03:00 committed by GitHub
parent ccfde1bd42
commit a443952fe6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -71,7 +71,7 @@ If you don't specify a driver for the channel in the scheme the default driver,
| **Output only** | | | | |
| `switch` | `bool` | `true` or `false` | `true` | Enables or disables the switch mode on the channel (enabled by default). |
| `initial` | `nullable bool` | `true`, `false` or `null` | `false` | Defines the initial state of the switch upon boot, `null` for don't make changes (the last one does not supported by generic GPIO) |
| `intverted` | `bool` | `true` or `false` | `false` | Inverts the active logical level |
| `inverted` | `bool` | `true` or `false` | `false` | Inverts the active logical level |
| `pulse` | | | | A section header to define switch pulse configuration |
| `delay` | `float` | `X >= 0` | `0.1` | Defines the pulse time in seconds, `0` for disable pulsing |
| `min_delay` | `float` | `X >= 0.1` | `0.1` |