(06-20-2016, 01:41 PM)martinayotte Wrote: The logic is in the RPi.GPIO-PineA64-master/source/common.c file, but of course PL7 isn't there, although it could be added later.
For now, I would go with the sysfs, where GPIOs can be exported, set direction, and then state value.
The pin number would be for PL7 is ("L"-"A")*32+7 = 359 ... I've verified on real hardware and it is working.
echo 359 > /sys/class/gpio/export
echo out > /sys/class/gpio359/direction
echo 1 > /sys/class/gpio359/value
Thanks a lot for the info and testing, I was just about to go figure out the number
Time to solder some LEDs to that board...
Come have a chat in the Pine IRC channel >>