Hello,
I have a mangOH-red board, with WP7702 module.
I would like to access the value of my gyroscope sensor (for then push it on a Cloud).
By checking the RedSensorToCloud, I saw that the value could be read through this path:
/sys/bus/i2c/devices/4-0068/iio:device0/in_accel_x_raw
However, it looks like this does not exist in my system:
root@swi-mdm9x28-wp:/sys/bus/i2c/devices# ls -al
drwxr-xr-x 2 root root 0 Jan 6 00:57 .
drwxr-xr-x 4 root root 0 Jan 6 00:57 …
lrwxrwxrwx 1 root root 0 Jan 6 00:58 4-001a -> …/…/…/devices/78b8000.i2c/i2c-4/4-001a
lrwxrwxrwx 1 root root 0 Jan 6 00:58 4-003a -> …/…/…/devices/78b8000.i2c/i2c-4/4-003a
lrwxrwxrwx 1 root root 0 Jan 6 00:58 i2c-4 -> …/…/…/devices/78b8000.i2c/i2c-4
My firmware version:
SWI9X06Y_02.32.02.00 c2e98c jenkins 2019/08/30 07:28:21
My legato version:
19.11.3.rc2_2f8818f062098020083ce89e8c5c3272
Do you have any ideas where I can find documentation to know how to access those info for this sensor and any another sensors ?
Any tips would be appreciated, thanks !