I'm trying to built a tilt-compensated compass by use a 10DOF-Module with MPU6050 / HMC5883L / BMP180.
I woult like to get an angle 0-360 Degrees tilt compensated.
I had found some code on the internet with other sensormodules, but I'm not able to convert it to my sensors.
However, to adapt other people's code, you first need to be able to read the 3 accelerometer and 3 magnetometer outputs of your sensor. If you cannot do that already, then that is where to start.