Create a single MCP23017 GPIO pin.
Namespace: IO.Devices.MCP23017.GPIOAssembly: libremoteio (in libremoteio.dll) Version: 2.2024.165.1
Syntax public Pin(
Device dev,
int channel,
Direction dir,
bool state = false
)
Parameters
- dev Device
- MCP23017 device object.
- channel Int32
- MCP23017 I/O channel number.
- dir Direction
- GPIO pin data direction.
- state Boolean (Optional)
- Initial GPIO output state.
See Also