Dear Bela community,
I am currently struggling to find a way to write the code for requesting readings from a Bela acting as a master device to multiple arduinos over I2C. I've read the example codes for the accelerometer but cannot generalise enough to get a single reading from a custom I2C device.
I've succesfully got the slave arduino to be recognised on the I2C bus, by sshing into bela and running "i2cdetect -r 1" and also got a reading with "i2cget -y 1 9" (with 9 being the slave device address).
Could anybody point me to a well documented c++ code that would help me doing that?
Thanks!
Michele, STEIM