Click or drag to resize

DeviceGPIO_Create Method

Create a remote GPIO pin object.

Namespace: IO.Objects.RemoteIO
Assembly: libsimpleio (in libsimpleio.dll) Version: 2.2024.167.1
Syntax
C#
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

Pin
GPIO pin object.
See Also