libsimpleioGPIO_line_read Method |
Read the state of a single GPIO line.
Namespace: IO.BindingsAssembly: libsimpleio (in libsimpleio.dll) Version: 2.2024.167.1
Syntax public static void GPIO_line_read(
int fd,
out int state,
out int error
)
Parameters
- fd Int32
- Linux file descriptor.
- state Int32
- State of the GPIO line.
- error Int32
- Error code. Zero upon success or an errno
value upon failure.
See Also