I've been looking for a relatively straight-forward way of changing the 
setting of the GPIOs. I've come across a bunch of different posts and sites 
that describe how to check for these, most of which is looking in files 
located in: 
/sys/kernel/debug/pinctrl/44e10800.pinmux

This page <http://hipstercircuits.com/category/device-tree/page/2/> does a 
good job of explaining what everything means (such as the hex format of the 
data in files in the directory above).

But could someone point me in the direction of a simple command-line way of 
changing these values? Like if I want to change the direction of a pin, I 
simply do this: 
echo out > /sys/class/gpio/gpioNUM/direction

Which means I can just open that file as a file descriptor in C, C++, or 
any other language and write to it. Is there something similar to the above 
for the internal pullups/pulldowns?

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to