Hi TJF. 

I've never heard about libpruio before. It seems to be very nice and fast, 
once it uses PRUs for writing and reading I/Os, per my understanding. 
Thanks for the suggestion.


Best Regards, 
Pedro Bertoleti

Em terça-feira, 1 de setembro de 2020 às 11:36:13 UTC-3, TJF escreveu:

> 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 beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/998855ab-5ddf-4206-9149-e1644455f616n%40googlegroups.com.

Reply via email to