Identify whether a breakout contains HMC5883L or the common QMC5883L alternative, then calibrate hard-iron and soft-iron distortion before computing heading.