Create an MCP23S17 GPIO pin object.
Namespace: IO.Devices.MCP23S17Assembly: libremoteio (in libremoteio.dll) Version: 2.2024.165.1
Syntax public Pin GPIO_Create(
int channel,
Direction dir,
bool state = false
)
Parameters
- channel Int32
- MCP23S17 channel number (0 to 15).
- dir Direction
- GPIO pin data direction.
- state Boolean (Optional)
- Initial GPIO output state.
Return Value
PinGPIO pin object.
See Also