Firefly Open Source Community

   Login   |   Register   |

How Use GPIO firefly-rk3399

5

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
5
Posted at 10/4/2018 22:14:09     
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
Reply

Use props Report

778

Credits

10

Prestige

10

Contribution

advanced

Rank: 4

Credits
778
Posted at 10/8/2018 09:54:13     
According to the new version of the kernel.
U need to set gpio12 to gpio1012 .
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list