read method

int read(
  1. MraaGpioContext context
)

Read - mraa_gpio_read

Read the GPIO value. This can be 0 or 1. A response of Mraa.generalError means that there was a fatal error.

Implementation

int read(MraaGpioContext context) => _impl.mraa_gpio_read(context);