On 4/30/2014 1:57 PM, Hannes Hörting wrote:
> Hello!
> 
> I install in my BBB Debian.
> I can read the value Form Pin 12.
> I can set the direction to in or out.
> 
> But I dont know which Pins has wich mode.
> I want all 4 serial Ports, 12 inputs, 12 outputs and 2 analog inputs and 2 
> analog outputs.
> 
> But cant set OR check the mode of the Pins.
> 
> AS far I dead I have to compile the kernel new, when I want change mode of 
> Pins?
> 
> For help Im very pleased.

You can do most of what you want using my universal cape overlay and the
config-pin command:

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

Note these are pre-installed on the new Debian images for the
BeagleBone, so if you're testing with one of those you won't need to
download anything.

Also note that you don't have to do anything special to use the analog
input pins, they are always setup as analog inputs.  But there are no
analog outputs, unless you send PWM to a digital I/O pin and use an
external filter.

-- 
Charles Steinkuehler
[email protected]

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