libsimpleioGPIO_configure Method |
Configure a Linux GPIO pin.
Namespace: IO.BindingsAssembly: libsimpleio (in libsimpleio.dll) Version: 2.2024.167.1
Syntax public static void GPIO_configure(
int pin,
int direction,
int state,
int edge,
int polarity,
out int error
)
Parameters
- pin Int32
- Pin number.
- direction Int32
- Data direction.
- state Int32
- Initial GPIO output state.
- edge Int32
- Interrupt edge for input pin.
- polarity Int32
- Polarity
- error Int32
- Error code. Zero upon success or an errno
value upon failure.
See Also