I am reading I2C data from my IMU chip mpu9265 in Arduino software, at baud rate 115200.
Everything works well, the serial monitor shows 9 values (3x3axis) at the same time, constantly changing.
Now I open Pd, create a comport object and set the appropriate baud rate 115200.
Of course, comport outputs odd data that is not exploitable if not unpacked.
So here come my questions :
- How to 'unpack' the data from comport in order to see the 9 different values ?
- In the Arduino monitor, the 9 values are separated by a space, ending by a carriage return. Does this affect the data reception in Pd ? Should I collect the raw data in arduino and convert it in Pd ?
I am not sure OSC can be used here.
Thank you in advance for help !