Constructor for a single GPIO output pin.
Namespace: IO.Devices.SN74HC595.GPIOAssembly: libsimpleio (in libsimpleio.dll) Version: 2.2024.167.1
Syntax public Pin(
Device dev,
int pos,
bool state = false
)
Parameters
- dev Device
- SN74HC595 device object.
- pos Int32
- Bit position, numbered left to right.
Zero indicates the most significant bit of the first shift
register stage.
- state Boolean (Optional)
- Initial GPIO output state.
See Also