QMC5883LCompass
QMC5883LCompass copied to clipboard
Fix Calibration bug
Fixed a bug that the initial value of calibrationData might become an abnormal value when the calibrate function is called. It is necessary to execute the read function before calling getX, getY, getZ function in the function concerned.