|
deki-gpio 0.19.0
Deki package reference
|
Digital pins: drive, read, and count a pin's pulses by interrupt, plus a boot step that drives a pin. The platform package supplies the backend
Repository: github.com/dekiengine/deki-gpio · Latest release: 0.19.0 · Needs engine 0.19.0+
Install with DekiEditor --packages-add deki-gpio <project>, or from the Package Manager. The engine's own components and C++ API are in the Deki docs.
Shown in the editor as GPIO.
| Component | Category | Description |
|---|---|---|
| GpioPinSetup | GPIO | Drives a pin high or low at boot: a power enable, or the chip select of an unused device on a shared bus. |
Parts you can leave out of a build. A feature with a define is switched there; the rest are stripped with their components.
| Feature | Define | Default |
|---|---|---|
| Boot Pins | DEKI_FEATURE_GPIO_PIN_SETUP | on |
Drives a pin high or low at boot: a power enable, or the chip select of an unused device on a shared bus.
Inspector name: GPIO Pin · Category: GPIO · Type: DekiGpio::GpioPinSetup
| Property | Type | Default | Constraints | Description |
|---|---|---|---|---|
| pin | int32 | -1 | -1 to 255 | Pin number, as the platform numbers them (-1 = do nothing) |
| high | bool | true | Drive the pin high (off = low) | |
| settleMs | int32 | 0 | 0 to 5000 | Milliseconds to wait afterwards, for a power rail to come up before the next setup step |
Earlier releases: CHANGELOG.md.
Generated from the package's reflection data (engine 0.19.0). Property names are the keys used in scene files. Renames keep an alias (compatibility).