Click or drag to resize

Pin Constructor

Constructor for a single GPIO pin.

Namespace: IO.Devices.PCA8574.GPIO
Assembly: libsimpleio (in libsimpleio.dll) Version: 2.2024.167.1
Syntax
C#
public Pin(
	Device dev,
	int num,
	Direction dir,
	bool state = false
)

Parameters

dev  Device
PCA8574 (or similar) device.
num  Int32
GPIO pin number.
dir  Direction
Data direction.
state  Boolean  (Optional)
Initial GPIO output state.
See Also