Click or drag to resize

Pin Constructor

Create a single MCP23017 GPIO pin.

Namespace: IO.Devices.MCP23017.GPIO
Assembly: libremoteio (in libremoteio.dll) Version: 2.2024.165.1
Syntax
C#
public Pin(
	Device dev,
	int channel,
	Direction dir,
	bool state = false
)

Parameters

dev  Device
MCP23017 device object.
channel  Int32
MCP23017 I/O channel number.
dir  Direction
GPIO pin data direction.
state  Boolean  (Optional)
Initial GPIO output state.
See Also