PINE64
Low-Level-GPIO-Access - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PINE A64(+) (https://forum.pine64.org/forumdisplay.php?fid=4)
+--- Forum: Linux on Pine A64(+) (https://forum.pine64.org/forumdisplay.php?fid=6)
+--- Thread: Low-Level-GPIO-Access (/showthread.php?tid=3071)



Low-Level-GPIO-Access - Thoams131 - 01-10-2017

Hello!
Just as a disclaimer: I don't have an Pine, yet but I will buy one, soon.

I was wondering how to access the GPIO-Pins directly (like the PORT[...]-Registers on AVR or wiringPi for the Raspberry). How to set the Pins of PortL is written pretty detailed on Page 410 of the A64 User Manual. But what about the other Ports?

Thanks in advance!
Thomas131


RE: Low-Level-GPIO-Access - martinayotte - 01-11-2017

There is this library https://github.com/swkim01/RPi.GPIO-PineA64 for python, but could be used also by linking with gpio_lib.o provided.


RE: Low-Level-GPIO-Access - Thoams131 - 01-11-2017

Sounds great! Thank you very much!

Thomas