Click or drag to resize

Device Constructor

Constructor for a PCA8574 (or similar) GPIO Expander.

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

Parameters

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