LoRaRF-Python icon indicating copy to clipboard operation
LoRaRF-Python copied to clipboard

Migration from RPi.GPIO to gpiod

Open mgalemin opened this issue 2 years ago • 4 comments

Hi,

I'm looking for a python library for working with the SX1262 LoRa chip and I've found your library. It looks really good, but unfortunately, my product is based on the i.MX 6ULL processor and I can't use RPi.GPIO library in my project. I wonder how much effort would be required for me to migrate your library from RPi.GPIO to gpiod python library? I can see some dependencies on remove_event_detect() and add_event_detect() RPi.GPIO calls and I wonder how these calls can be implemented using gpiod calls? Or maybe you can recommend any other python libraries or wrappers that I could use for porting your library to a generic Yocto embedded linux build? Thanks.

Best regards, Maks.

mgalemin avatar Sep 07 '22 04:09 mgalemin