Testing the HMC5883L digital compass library for STM32F4