Hi!

Am Dienstag, 27. Oktober 2015 19:16:51 UTC+1 schrieb Istvan Biro:
>
>    Hello,
>
>  
>
> Thank you for your reply! 
>
>  
>
> I have installed the package successfully and am now looking at the code 
> (examples) to figure out the usage. I find this very hard… now I am looking 
> at example io_input.c, but there is very little comments included and I do 
> not understand most of the code (e.g., commands like FD_ZERO(&set);
>
>   FD_SET(STDIN_FILENO, &set);
>

FD_... function family is C stuff (I'm no C expert). Look them up in C 
documentation.

  -- or why pruio_new(PRUIO_DEF_ACTIVE, 0x98, 0, 1) has these arguments, 
> etc… ). 
>

Sorry, this is a bug (wrong parameter order). For full speed us

pruio_new(PRUIO_DEF_ACTIVE, 0, 0, 0)
 

> Is there any description for more naive users?  I mean something to 
> explain how to use this library?
>

Did you find the online documentation 
<http://users.freebasic-portal.de/tjf/Projekte/libpruio/doc/html/>?

Tasks I would like to do: 
>
> --switch to MM or RB, 
>
> -- read analog values (how to access buffer?) – theoretically 3 functions…
>

MM mode is used in example triggers.bas (FreeBASIC only since it uses 
graphics).

RB mode example isn't included in version 0.2. You can find pre-published 
code by searching this forum for "rb_file". Find also information on how to 
re-compile version 0.2 in order to use rb_file (and trigger.bas) at full 
speed.

BR

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