How Use GPIO firefly-rk3399

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

According to the new version of the kernel.
U need to set gpio12 to gpio1012 .

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?

This article is phenomenal, thank you so much for sharing. This CAPM reliable study guide sheet helped me get promoted and earn a pay raise. Now it’s free for everyone. Best wishes for your career advancements!

This article has given me many thought-provoking points, and I’ve gained a lot. Here’s the New C-S4FCF-2023 test lab questions test I passed to earn my promotion and salary increase. It’s free for you today—best of luck in your career goals!

What a great article, I’m so thankful for your sharing. Free Reliable 1Z0-947 practice questions free available for boosting your IT skills. Wishing you success!

Thank you for the article; it really stood out and caught my attention. The Virginia-Life-Annuities-and-Health-Insurance exam experience exam is almost here. Please send me good vibes!

The content is too good not to like. The New E_S4CON_2505 exam topics exam questions are available for free. Wishing you the best in your exams!

The article was a real eye-opener to me. Latest exam Plat-Arch-202 questions answers is rich with helpful content, offered free to aid your learning.