GPIO access in Android on OrangePi i96


#1

Has anyone managed to get the GPIO working in Android on the i96?

I can control LED2 using gpio#126 (C30) via the /sys/class/gpio interface but I can’t seem to get any of the other GPIO to function as an output. I’m just using /sys/class/gpio/* files as root to export each GPIO, set the direction to “out” and use “value” to attempt to change the output.

I’m using the OrangePi_i96_NandStartup_V1.2.rar image Android image provided on OrangePi.org.

If someone can verify that they’ve been able to do this, it would be a great help.