Click or drag to resize

Device Constructor

Constructor for a PCA9534 (or similar) GPIO Expander.

Namespace: IO.Devices.PCA9534
Assembly: libsimpleio (in libsimpleio.dll) Version: 2.2024.167.1
Syntax
C#
public Device(
	Bus bus,
	int addr,
	byte config = 255,
	byte states = 0
)

Parameters

bus  Bus
I2C bus controller.
addr  Int32
I2C slave address.
config  Byte  (Optional)
GPIO pin configuration.
states  Byte  (Optional)
Initial output states.
See Also