Hello,
I'd like to connect button LED ... to GPIO. I d'ont have the gpio unix name.
For example we can see it in the array for Neo board :
http://wiki.friendlyarm.com/wiki/index.php/NanoPi_NEO2 ''linux GPio''
I dont see this information in :
http://wiki.friendlyarm.com/wiki/index.php/NanoPi_K2
Thus I don"t know how to use direct commands like :
echo "in" > /sys/class/gpio/gpioXXX/direction
Other solution : use the library :
http://wiki.friendlyarm.com/wiki/index. ... edirect=no
But K2 seem not to be supported:
https://github.com/friendlyarm/WiringNP ... 4b3516fd75
The question is simple : how to have gpio number/position information? I dont see it in schematic.
My initial aim is to use the power key button to halt K2 board without any display.
Thanks for your help
I'd like to connect button LED ... to GPIO. I d'ont have the gpio unix name.
For example we can see it in the array for Neo board :
http://wiki.friendlyarm.com/wiki/index.php/NanoPi_NEO2 ''linux GPio''
I dont see this information in :
http://wiki.friendlyarm.com/wiki/index.php/NanoPi_K2
Thus I don"t know how to use direct commands like :
echo "in" > /sys/class/gpio/gpioXXX/direction
Other solution : use the library :
http://wiki.friendlyarm.com/wiki/index. ... edirect=no
But K2 seem not to be supported:
https://github.com/friendlyarm/WiringNP ... 4b3516fd75
The question is simple : how to have gpio number/position information? I dont see it in schematic.
My initial aim is to use the power key button to halt K2 board without any display.
Thanks for your help