Create a remote GPIO pin.
Namespace: IO.Objects.RemoteIOAssembly: libsimpleio (in libsimpleio.dll) Version: 2.2024.167.1
Syntax public GPIO(
Device dev,
int num,
Direction dir,
bool state = false
)
Parameters
- dev Device
- Remote I/O device object.
- num Int32
- GPIO pin number: 0 to 127.
- dir Direction
- GPIO pin data direction: Input or Output.
- state Boolean (Optional)
- Initial GPIO output state.
Remarks Use Device.GPIO_Create() instead of this constructor.
See Also