libspiagentspiagent_gpio_get Method |
Get GPIO pin state.
Namespace: IO.BindingsAssembly: libsimpleio (in libsimpleio.dll) Version: 2.2026.331.1
Syntaxpublic static void spiagent_gpio_get(
uint pin,
out uint state,
out int error
)
Parameters
- pin UInt32
- GPIO pin number.
- state UInt32
- Set to GPIO pin state (0=low, 1=high).
- error Int32
- Set to 0 upon success, or an
errno
error number upon failure.
See Also