Skip to content

Instantly share code, notes, and snippets.

@dhess
Created November 15, 2017 23:12
Show Gist options
  • Save dhess/e0378728b362340543dade1e931e2235 to your computer and use it in GitHub Desktop.
Save dhess/e0378728b362340543dade1e931e2235 to your computer and use it in GitHub Desktop.
echo cape-universal > /sys/devices/platform/bone_capemgr/slots
# gpio51
config-pin p9_16 high
echo 1 > /sys/class/gpio/gpio51/active_low
# gpio3
config-pin p9_21 high
echo 1 > /sys/class/gpio/gpio3/active_low
# gpio2
config-pin p9_22 high
echo 1 > /sys/class/gpio/gpio2/active_low
# gpio7
config-pin p9_42 high
echo 1 > /sys/class/gpio/gpio7/active_low
# gpio47
config-pin p8_15 in+
# gpio26
config-pin p8_14 in+
# gpio44
config-pin p8_12 in+
# gpio45
config-pin p8_11 in+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment