# DFRobot_HMC5883L **Repository Path**: dfrobot/DFRobot_HMC5883L ## Basic Information - **Project Name**: DFRobot_HMC5883L - **Description**: No description available - **Primary Language**: C++ - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-06-02 - **Last Updated**: 2022-05-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 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 You can calibrate hmc5883l sensor by this function: void calibrate(int* offX, int* offY); ### set offset by calibrate data void setOffset(int xo, int yo); * @n [Get the module here](等上架后添加商品购买链接) * @n This example Set the volume size and play music snippet. * @n [Connection and Diagram](等上架后添加wiki链接) * * Copyright [DFRobot](http://www.dfrobot.com), 2016 * Copyright GNU Lesser General Public License * * @author [dexian.huang](952838602@qq.com) * version V1.0 * date 2017-7-3