Hi All,
I'm using light sensor in Android 6.
If i'm giving
=> cat /sys/class/i2c-dev/i2c-1/device/1-0045/iio:device0/in_illuminance_input
I'm getting current lux value. same value updated on android application also. But in application it's not updating continuously.
When ever i'm giving the "cat /sys/class/i2c-dev/i2c-1/device/1-0045/iio:device0/in_illuminance_input " in that time only it's updating.
What can i do to poll to read the data continuously???
Regards,
Aravinth
Hi Aravinth
is it working in linux. One can try to debug it, use as help
documentation on
http://events.linuxfoundation.org/sites/events/files/slides/lceu15_baluta.pdf
Chapter 2. Industrial I/O core
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
I fixed this issue. I did some changes on opt3001 light sensor driver code. Now it's working fine.
Thanks,
Aravinth