Difference between revisions of "Gpio beaglebone black"

From Teknologisk videncenter
Jump to: navigation, search
m
m (config-pin command)
Line 1: Line 1:
 
==config-pin command==
 
==config-pin command==
 
<source lang=bash>
 
<source lang=bash>
 +
debian@beaglebone:/sys$ config-pin  P9_16 gpio_pu
 
debian@beaglebone:/sys$ config-pin -q P9_16
 
debian@beaglebone:/sys$ config-pin -q P9_16
 
P9_16 Mode: gpio_pu Direction: in Value: 0
 
P9_16 Mode: gpio_pu Direction: in Value: 0
 
</source>
 
</source>
P9_16 (gpio 51) in gpio mode configured as input with pull-up resistor. Current value "0".
+
P9_16 (gpio 51) configure to gpio mode configured as input with pull-up resistor. Current input value "0".
 
[[Category:Beaglebone Black]]
 
[[Category:Beaglebone Black]]

Revision as of 12:34, 16 December 2020

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".