On 3/22/2014 11:44 AM, Walter Schilling wrote:
> 
> #2 Short of going through the device tree (which seems horribly complicated 
> to simply change a pull up or pull down resistor setting), is there an easy 
> way to set of clear the PU/PD resistor through a c program?

I have just added pull-up and pull-down support to my universal cape
overlay:

https://github.com/cdsteinkuehler/beaglebone-universal-io

Compile and load the overlay, then you can simply:

  sudo ./config-pin P8.14 in+

To enable the pin's pull-up resistor.

-- 
Charles Steinkuehler
char...@steinkuehler.net

-- 
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 beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to