Heading magnetometer HMC5883L, tilted.

so u'll need accelerometer info in addition.. to tell orientation. and of course: u need to know how the magnetic field is orientated at your location.