Everything Related To The Beaglebone SBC
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

22 lines
518 B

  1. Relay Cape notes
  2. Initialize (relays to out) after an install
  3. echo 20 > /sys/class/gpio/export
  4. echo out > /sys/class/gpio/gpio20/direction
  5. echo out > /sys/class/gpio/gpio7/direction
  6. echo out > /sys/class/gpio/gpio112/direction
  7. echo out > /sys/class/gpio/gpio115/direction
  8. BBGW Note
  9. Well I set the default directory to
  10. /sys/class/gpio
  11. and issued the command
  12. echo 112 > export
  13. and like magic the gpio112 appeared. It works now. Don't know why gpio112 was not automatically created however.