Create a remote GPIO pin object.
Namespace: IO.Objects.RemoteIOAssembly: libremoteio (in libremoteio.dll) Version: 2.2024.165.1
Syntax public Pin GPIO_Create(
int num,
Direction dir,
bool state = false
)
Parameters
- num Int32
- GPIO pin number: 0 to 127.
- dir Direction
- GPIO pin data direction: Input or Output.
- state Boolean (Optional)
- Initial GPIO output state.
Return Value
PinGPIO pin object.
See Also