Click or drag to resize

BoardGPIO Method

Factory function for creating GPIO pins.

Namespace: IO.Devices.ClickBoards.SimpleIO.ADAC
Assembly: libsimpleio (in libsimpleio.dll) Version: 2.2024.167.1
Syntax
C#
public Pin GPIO(
	int channel,
	Direction dir,
	bool state = false
)

Parameters

channel  Int32
AD5593R I/O channel number (0 to 7).
dir  Direction
GPIO pin direction.
state  Boolean  (Optional)
Initial GPIO output state.

Return Value

Pin
GPIO pin object.
See Also