I’m new to legato and mangoh red and could use some advise.
I want to connect an external accelerometer to the i2c pins of the raspberry pi connector of a mangoh red (wp7607) .
Is there any example of how to get sensor data from the raspberry connector (i2c) to a similar file as the one used by the on-board sensors in the redSensorToCloud app (sys/bus/i2c/devices/4-xxxx)?
Where/How can I access the i2c bus of the raspberry connector i2c-lines?
The accelerometer I want to use:
the sensor module: https://www.seeedstudio.io/s/Grove-3-Axis-Digital-Accelerometer-%C2%B116g-Ultra-low-Power-(BMA400)-p-3201.html
Thanks in advance!