Click or drag to resize

Device Constructor

Constructor for a PCA8574 (or similar) GPIO Expander.

Namespace: IO.Devices.PCA8574
Assembly: libremoteio (in libremoteio.dll) Version: 2.2024.165.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