|
【Linux】
How Use GPIO firefly-rk3399
Posted at 10/4/2018 22:14:09
View:3351
|
Replies:2
Print
Only Author
[Copy Link]
1#
Last edited by ghsoftci In 10/4/2018 23:02 Editor
Hi
I have a board model firefly-rk3399, i installed ubunu 16.I want to send a signal with one free GPIO
The problem is I don't have a clue on how to do this.
I found ( /sys/class/gpio )and did the following.
1) echo 12 > export
2) cd /sys/class/gpio/gpio12
3) echo "out" > direction and echo 1 > value
But did not work and please guide?????
thanks
|
|