RPi.GPIO
Hey everyone,
https://wiki.up-community.org/RPi.GPIO
On the wiki above it's said that this package is not working yet on ubuntu.
Does anyone know when this will be working or that it's already possible to use this?
If it is already possible, how did you do it?
Thanks in advance!
Comments
-
I have the "normal" Upboard and the same question. Ubilinux is not supported anmore, so I have to migrate to ubuntu and now the GPIO-Lib no longer works?
Why I have an Upboard then?
Very frustrating. -
Hi,
I think you can use MRAA library with python bindings to do the same job on Ubuntu.
I was able to blink a led using mraa.Gpio with raw option turned to True and using the linux numbering referenced on UP2 pinout page. -
The compiled RPi.GPIO library (that you can install via pip) has an hardware check embedded that does not allow to run it on non-RPi systems.
You could refer to the source code of the library and modify that part before compiling (to remove the limitation) .
At the moment we do not plan to release a new binary with the modifications as Libmraa/UPM libraries already cover that part and for multiple programming languages (not just python).You can easily install libmraa via apt and follow our wiki on how to use it (and plenty of documentation available online for Libmraa): https://github.com/up-board/up-community/wiki/MRAA