SHARE
TWEET

gpio issues

a guest Dec 9th, 2014 2 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. root@minnow-fe-31-31:/sys/class/gpio# ls
  2. export  gpiochip126  gpiochip154  gpiochip82  unexport
  3. root@minnow-fe-31-31:/sys/class/gpio# echo 82 > export
  4. root@minnow-fe-31-31:/sys/class/gpio# echo out > gpio82/
  5. active_low  direction   power/      uevent      
  6. device/     edge        subsystem/  value      
  7. root@minnow-fe-31-31:/sys/class/gpio# echo out > gpio82/
  8. active_low  direction   power/      uevent      
  9. device/     edge        subsystem/  value      
  10. root@minnow-fe-31-31:/sys/class/gpio# echo out > gpio82/direction
  11. root@minnow-fe-31-31:/sys/class/gpio# cat gpio82/direction
  12. out
  13. root@minnow-fe-31-31:/sys/class/gpio# echo 1 > gpio82/value
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top