hrtimer in pyadi?
karu2003 opened this issue · comments
how to work with hrtimer in pyadi-iio?
You would need to enable the RTC trigger https://wiki.analog.com/software/linux/docs/iio/iio-trig-sysfs#adding_linux_driver_support and try to map it to your device first
Is there no support in PyAdi-iio.
The HR timer is no different than any other trigger. As long as you can verify you can use it to drive/trigger your device, you simply set it as a source in your init like so:
Line 34 in 15b7cb9
Thank you. I tried this right away. I made my own timer.
https://github.com/karu2003/rpi_ad7476/blob/master/hrtimer.py
I think this can be closed now