MRAA on RockPIS

I’ve installed and using libmraa on a RockPI S v1.3.

Generic Input and Output is working.

But:

  • Input_PullUp and Input_PullDown is not really, or anyone has a working example?

  • Pwm.write() works as reversed

I’ve tested Pwm functions with a simple LED. When i am using led.write(0) the LED is the brightest, with led.write(0.5) are half-bright, and with led.write(1) the LED is not lighting.

  • Pwm.enable(False) is not working at all

After testing Pwm and setting enable(False) at the end, the LED still lighting, which means that Pwm is still working? How can i switch it off really?