DEKI/ENGINE docs
deki-gpio 0.19.0
Deki package reference
deki-gpio

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.

Components

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.

Feature flags

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

Component reference

GpioPinSetup

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

Changelog

0.19.0

Changed

  • minEngine 0.19.0: built against engine 0.19.0, whose component metadata records the package each class is in. A build of this package from before does not load and is rebuilt.

Added

  • Japanese, Simplified Chinese and Korean: editor/lang/ja.json, zh.json and ko.json translate the names, tooltips and enum values this package's components show in the Inspector.

0.18.0

Changed

  • minEngine 0.18.0. Reflection ABI 21: the package must be rebuilt.
  • Names follow the code style (deki-engine/docs/codestyle): types, functions and enum values are PascalCase, constants kPascalCase, members m_PascalCase, locals and parameters camelCase. The code is formatted with clang-format 22.
  • The functions the editor finds by name are PascalCase: DekiGPIORegisterComponents, DekiGPIOGetAutoComponentCount, DekiGPIOEnsureRegistered and the rest. Built against engine ABI 21; a build of this package from before does not load and is rebuilt.

Removed

  • The former names from before 0.16.0 (bare class names, and deki-gpio's DekiEsp32::ESP32PinSetup). A scene that old is upgraded with 0.17 first.

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).