Click or drag to resize

libsimpleioGPIO_line_read Method

Read the state of a single GPIO line.

Namespace: IO.Bindings
Assembly: libsimpleio (in libsimpleio.dll) Version: 2.2024.167.1
Syntax
C#
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