pgmmpk / bbb_pru_adc

Stream capture of analog sensor data on BeagleBone (Black) using PRU
MIT License
12 stars 3 forks source link

Advanced features: setting min time delay and max number of buffers #4

Closed pgmmpk closed 4 years ago

pgmmpk commented 4 years ago

This implements two new features:

  1. Ability to fine-tune the capturing frequency by using target_delay parameter, and
  2. Limit the number of samples per buffer using the max_num parameter.

This code is untested.

@mtkaplanoglu please try building and running it and report any issues here.