Jump to content

Hey all, and greetings from FLOSS Weekly!


G+_Jonathan Bennett
 Share

Recommended Posts

Hey all, and greetings from FLOSS Weekly! I was you might find this useful. I have been working with the Raspberry pi 2 on stock Fedora 26. Lots of things work, and it's generally a good experience.

 

One thing I had problems with is using the GPIO pins from within Fedora. It seems that the way Rasbian accesses gpio is direct memory mapping, and that is not ever gonna work in Fedora. The new kernel, however, exposes GPIO via a new Character device, /dev/gpiochip0. There didn't seem to be a python library that worked with this new interface, so I put one together quickly.

 

https://github.com/jp-bennett/PyGPIO

It does work correctly on the Pi running Fedora 26. If people find it useful, I'll try to make this available in pip.

Link to comment
Share on other sites

 Share

×
×
  • Create New...