https://github.com/mprograms/QMC5883LCompass
library module and example sketch for QMC5883LCompass chip.