5 Replies Latest reply on Mar 16, 2017 12:45 PM by Intel Corporation

    mraa_pwm_close( ) not working



      I have a requirement of dynamically changing an led pin from GPIO mode to PWM mode in intel Edison module. I just noticed that the mraa_pwm_close() api is not working as expected. Even if this function returns success value, the file descriptor in memory is not closed. As a result it leads to memory leakage. I had seen the same issue posted here:

      PWM doesn't work properly. Any clues to fix this issue?

      Also how to check for the mraa library version from command line? I am using the latest Edison image 3.10.98