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);  -- or why pruio_new(PRUIO_DEF_ACTIVE, 0x98, 0, 
1) has these arguments, etc… ). 

 

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

Tasks I would like to do: 

--switch to MM or RB, 

-- read analog values (how to access buffer?) – theoretically 3 functions…  

 

Thank you!

 

Best regards,

Istvan

 

 

 

From: TJF [mailto:[email protected]] 
Sent: 22 October 2015 16:26
To: BeagleBoard
Cc: [email protected]
Subject: Re: beaglebone black ADC via Bonescript slow? - how to improve or 
alternatives?

 

Hi istvan!

libpruio <http://beagleboard.org/project/libpruio/>  is designed to sample ADC 
at full speed (200 kHz). Accurate timing is available in measurement mode (MM, 
predefined number of samples) or ring buffer mode (RB, continous sampling).

The library is coded in FreeBASIC. Somebody worked on a JavaScript binding, but 
I don't know the current state.

C / C++ bindings and examples are included in the package.

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