================== HMC5883L测试程序=============== 3-轴数字罗盘 协议:IIC 详细读写协议请参考相关 时间:2012.2.2 Author:Keliweninclude <reg52.h>include <math.h>include <stdio.h>include <intrins.h>typedef unsigned char u