Gpio beaglebone black

From Teknologisk videncenter
Jump to: navigation, search

config-pin command

debian@beaglebone:/sys$ config-pin  P9_16 gpio_pu
debian@beaglebone:/sys$ config-pin -q P9_16
P9_16 Mode: gpio_pu Direction: in Value: 0

P9_16 (gpio 51) configure to gpio mode configured as input with pull-up resistor. Current input value "0".