Hi Audrey! As mentioned above, a bash script is not feasible to handle ADC sampling at 200 kHz. Instead use a fast compiler language like C, C++ or FreeBASIC. The mentioned iio solutions require file access, which is also slow. In order to get direct access to the values, use libpruio <http://beagleboard.org/project/libpruio/>. This library provides
- full control over all ADC configuration registers - at run-time (no device tree changes / reboots) - sampling at full speed (200 kHz) and some further features ... Check out the examples. <http://users.freebasic-portal.de/tjf/Projekte/libpruio/doc/html/_cha_examples.html> 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.
