QMC5883L - 3-Axis Digital Compass IC (Compatible with HMC5883L)

initial QMC5883L sensor

scan and initial QMC5883l device

bool begin(void);

read raw data

You can read raw data by this function:

Vector readRaw(void);

read Normalize data

You can read raw data by this function:

Vector readNormalize(void);

calibrate

In this version optimization, calibration will be removed and calibrated when used. When the compass program runs, please spin QMC5883 freely to accomplish calibration.