close method

Close - mraa_gpio_close

Close the MraaGpioContext Free's the memory for the context and unexports the Gpio - sysfs interface. Free's up the memory used by context and closes any related file descriptors - chardev interface.

Implementation

MraaReturnCode close(MraaGpioContext dev) =>
    MraaReturnCode.returnCode(_impl.mraa_gpio_close(dev));