Firefly Open Source Community

Title: How Use GPIO firefly-rk3399 [Print This Page]

Author: ghsoftci    Time: 10/4/2018 22:14
Title: How Use GPIO firefly-rk3399
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

Author: leungÏÈÉ­    Time: 10/8/2018 09:54
According to the new version of the kernel.
U need to set gpio12 to gpio1012 .
Author: gmont    Time: 11/30/2018 02:37
My Signal is very weak, but it seems to be working gpio12... i plug a led on the signal coming from the board but the brightness is almost nothing...
Any suggestion about boosting the signal coming from the gpio?




Welcome Firefly Open Source Community (https://bbs.t-firefly.com/) Powered by Discuz! X3.1