Constructor for a PCA9534 (or similar) GPIO Expander.
Namespace: IO.Devices.PCA9534Assembly: libsimpleio (in libsimpleio.dll) Version: 2.2024.167.1
Syntax 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