Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- adb devices (See if Dragonboard is connected)
- adb shell (Open shell on Dragonboard)
- su (Need super user access)
- cd sys/class/gpio (Navigate to GPIO directory)
- ==> GPIO pin numbers are offset by 902 (pin 34 => GPIO 935)
- echo {GPIO number, eg. 935} > export (Exports GPIO to be accessed and modified)
- cd {exported GPIO number directory, eg. gpio935}
- ls (Lists commands available for GPIO)
- cat direction (prints direction (IN or OUT))
- cat value (prints value (1 or 0))
- echo 1 > value (Overwrites value with 1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement