Constructor for a single GPIO pin.
Namespace: IO.Devices.PCA9534.GPIOAssembly: libsimpleio (in libsimpleio.dll) Version: 2.2024.167.1
Syntax public Pin(
Device dev,
int num,
Direction dir,
bool state = false
)
Parameters
- dev Device
- PCA9534 (or similar) device.
- num Int32
- GPIO pin number.
- dir Direction
- Data direction.
- state Boolean (Optional)
- Initial GPIO output state.
See Also