Created
October 4, 2020 08:56
-
-
Save dorokhin/9afe2c765ce48523d654c8861c9e59b2 to your computer and use it in GitHub Desktop.
BananaPI GPIO
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo 26 > /sys/class/gpio/export | |
echo out > /sys/class/gpio/gpio26/direction | |
echo 1 > /sys/class/gpio/gpio26/value | |
gpio -g read 26 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment