Hi Marko,
That is a very long post, with hopefully a very simple answer
ts_dataxyzf32 accRawData;
bsx_get_accrawdata(&accRawData);
printf("ACC X: %d, Y: %d, Z: %d\n", accRawData.x, accRawData.y, accRawData.z);
The structure contains floats, but your printf %d expects integers. Most compilers would issue a warning. try using %f instead.
With the correct data type for your printf function, I expect it will be much easier to debug 😀
... View more