Please read BNO055 datasheet 3.4 Axis remap to know how to configure and remap axis sign and map, according to different sensor placement.
The corresponding registers is Register Map Page0, register address 0x42-0x43.
I don't konw whether there is the operation interface n the Arduino IDE project and how to set them i, but if not the relevant function, maybe you need download BNO055 api, find and port these code into your projrect.
Thanks for the reply!
I looked into the datasheet and I know which position i need.
it would be P5. But yeah I am not sure how i get the sensor to do what I want.
I tried this code above, but AXIS_REMAP_CONFIG is not useable without any further set up.
Maybe someone already did this in C++?
This setting can be done with C code on my stm32 platform, recommend you to download BNO055 api code to have a try.