Hi!

Forget about all that device tree trouble, use libpruio 
<http://users.freebasic-portal.de/tjf/Projekte/libpruio/doc/html/index.html> 
instead. You can configure the pin and set the desired output state by a 
single function call in your programm running at user space (no sudo 
commands, no rebooting, ...)

gpio_setValue(Io, P9_15, 1) // configure and set high
>
gpio_setValue(Io, P9_15, 0) // set low
>
 
You'll have faster boot, less memory consumption, and your code executes 
much faster (compared with sysfs GPIO control).

You may want to check out some examples 
<http://users.freebasic-portal.de/tjf/Projekte/libpruio/doc/html/ChaExamples.html>
.

Regards

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/4aa0a2a1-fb97-46ff-9d72-c4fb25d0b6dco%40googlegroups.com.

Reply via email to