QMC5883L Compass Library calculates the direction range and direction in which the sensor is pointing. There are two functions you can call. To get a 16 point value of the direction the sensor is ...