EE_Write_Byte(PWR_MGMT_1, 0x00);
EE_Write_Byte(SMPLRT_DIV, 0x07);
EE_Write_Byte(CONFIG, 0x06);
EE_Write_Byte(GYRO_CONFIG, 0x18);
EE_Write_Byte(ACCEL_CONFIG, 0x01);
EE_Write_Byte(0x68,0x01); //重置温度传感器()
EE_Write_Byte(0x37,0x16); //INT中断脚配置
EE_Write_Byte(0x38,0x40); //中断配置
EE_Write_Byte(0x1f,0x01); //阀值设置
EE_Write_Byte(0x20,0x14); //检测时间20ms
EE_Write_Byte(0x6b,0x4f); //休眠配置
EE_Write_Byte(0x6c,0x3f); //
我设置了休眠模式还是有1mA,是还有别的寄存器要配置吗?求指教下,谢谢~!
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
一周热门 更多>