Python and libmraa

I’ve installed python libmraa to access GPIO from Release 1.3, but it doesn’t seems to work. All I get is :

ValueError: Invalid GPIO pin specified

when the code is :

import mraa

p = mraa.Gpio(1)

 

Answering my own question, it worked if additional argument is passed :

p1 = mraa.Gpio(1, owner=False, raw=True)

 

 

thanks for sharing

Hi @martinayotte can you mention where to get the libmraa that can work on domino pi please.

@yaseenox, simply by installing it with “opkg install libmraa”