你好,
kernel : linux 3.10.17
使用iio子系统驱动陀螺仪mpu6050,现在遇到的问题是如何使用iio子系统去读取数据,请高人指点,谢谢。
Solved! Go to Solution.
Thanks a lot. I also found other information and tell me how to setup the continuous mode. But, into the problem, it is not successful for me to setup the continuous mode. I show my work:
cd /sys/bus/iio/devices
echo 123 > iio_sysfs_trigger/add_trigger
you may get some idea from this:
Thanks a lot. I also found other information and tell me how to setup the continuous mode. But, into the problem, it is not successful for me to setup the continuous mode. I show my work:
cd /sys/bus/iio/devices
echo 123 > iio_sysfs_trigger/add_trigger
sorry, wrong operation.
After that, I can find the new trigger named trigger1.
So, I tried to configure the trigger in file of "iio:deviceX/trigger/" by cmd of "ech0 sysfstrig123 > current_trigger", however, return the error with "echo:write error: Invalid argument".I dont know what happen?