Switch to a library for the HMC5883 communication