We made modules which work same way on all our OLinuXino and SOM boards. The sources are on GitHub.
You can address the GPIOs in two ways – as connector pins and as processor ports.
connector.gpio1p5 means connector GPIO1 pin number 5, same signal can be addressed with port.PG0
Max
Sep 08, 2014 @ 12:37:54
How about LIME models?
kantal
Sep 08, 2014 @ 14:00:59
pyA10Lime is missing on GitHub
Lub
Sep 08, 2014 @ 14:19:17
Thank you for the notice! The pyA10Lime is now properly uploaded and available for download.
GeeKen
Sep 08, 2014 @ 19:20:56
Now that this GPIO system is working is it easy to expand it, for example, to make PWM signals ??
Peter
Sep 16, 2014 @ 15:26:21
Could you please extend the library with interrupt handling and pwm?
Cyril
Oct 01, 2014 @ 19:35:24
Yes, interrupts would be fantastic, a bit like GPIO.add_event_detect() in RPi.GPIO on Raspberry Pi
kantal
Oct 02, 2014 @ 00:57:37
Maybe interesting for you: https://github.com/kantal/PythonGPIO
See the poll example!
Christian
Dec 14, 2014 @ 00:51:52
I want to import the pyA20Lime2.gpio into my python script:
from pyA20Lime2.gpio import gpio
from pyA20Lime2.gpio import port
When running the script, I always get:
ImportError: No module named pyA20Lime2.gpio
I thought this module is included in the standard debian img file for the OLinuXino A20 Lime 2
ionutcotoi
Apr 17, 2015 @ 22:19:12
Hi, Do you also have libraries for the imx233 based boards?
Thanks,