登录
首页 » c » C51.MPU6050程序

C51.MPU6050程序

于 2022-04-29 发布 文件大小:7.26 MB
0 122
下载积分: 2 下载次数: 1

代码说明:

陀螺仪: bool  Mpu6050Detect () ; 函数功能:检测IIC地址是否应答,读取陀螺仪器件地址寄存器(who am i)判断芯片是否匹配,返回BOOL数据类型的true/fail; void  Mpu6050Init(void) ; 函数功能:初始化陀螺仪的配置参数; void Mpu6050GyroRead(int16_t * gyroData) ; 函数功能:读取陀螺仪采样值,每轴为16bit的带符号整形数据,共3轴(参数按址传递); void mpu6050AccRead(int16_t * accData) ; 函数功能:读取加速度采样值,每轴为16bit的带符号整形数据,共3轴(参数按址传递); bool  Gyro_calibe(void); 函数功能:校准陀螺仪0漂移; bool  Acc_calibe(void); 函数功能:校准加速度计0漂移;

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • g_eluosi
    用turbo C编的俄罗斯方块小游戏,对初学者、编程爱好者有参考价值(Using turbo C series Tetris game for beginners, programming enthusiasts have reference value)
    2007-07-28 01:11:40下载
    积分:1
  • SolarBox
    利用ATTINY26 mcu开发的一款太阳能电源箱的程序,对太阳能板及电池电量的检测和控制。当电量较低时,发出声光报警并切断输出。(ATTINY26 mcu development of the use of a solar power supply box procedures, solar panels and battery power detection and control. When the electricity is low, the issue of sound and light alarm and cut off the output.)
    2021-01-16 10:48:45下载
    积分:1
  • kedwo796
    PDA版的小型WEB服务器,可运行于windows mobile平台上()
    2020-09-14 10:37:57下载
    积分:1
  • SVG
    SVG matlab仿真模型 绝好的学习资料 无功补偿 谐波抑制(SVG matlab simulation model excellent learning materials reactive power compensation harmonic suppression)
    2014-03-07 09:22:00下载
    积分:1
  • ucos-iii-多任务_三个 LED切换例程
    说明:  ucos-iii-多任务_三个 LED切换例程,基于Keil-uvision5环境开发(STM32,ucos-iii muti-task LED switch example ,based on keil-uVision5 environment)
    2020-12-21 11:34:50下载
    积分:1
  • simelak
    一个类似QQ的抽屉交果的程序,右击头像可以弹出快捷菜单修改属性,单击其它标签可以在各组之间切换,(A similar QQ drawer to the fruit of the program, right-click on the head image can be pop-up shortcut menu to modify properties, click on other labels to switch between groups,)
    2018-12-22 04:01:57下载
    积分:1
  • 按键驱动
    platform_device ,输入子系统驱动,注册设备,获取平台资源
    2023-04-14 10:25:03下载
    积分:1
  • czchengxu
    基于52单片机的智能定时插座,用LCD1602显示,可显示时间和温度(Based on 52 single-chip intelligent timer socket, with the LCD1602 display, can display time and temperature)
    2021-04-18 10:18:57下载
    积分:1
  • QQzidongdengluqi
    用vc实现的qq自动登录器,内含源文件和可执行程序!!(Vc super implementation by Mary, includes source files and executable programs! !)
    2009-03-13 18:06:48下载
    积分:1
  • Csharp_QQ
    C#写的模拟QQ聊天软件,可以学习网络编程。当用户第一次运行客户端程序时,将会弹出注册窗口进行注册,用户注册后,再次运行客户端程序时,将直接进行登录,无须注册。用户首先启动服务器端,如图1.1所示。单击“控制台”/“开始服务”命令,启动服务器端的UDP协议。在局域网的其它计算机中,启动客户端程序,如果用户第一次运行本程序,将弹出用户注册窗口。(When a user first runs the client program, registration window will pop up to register, after user registration, when you run the client program again, it will log in directly without registration. The user first starts the server, as shown in Figure 1.1. Click Control Panel / Start service command to start the server UDP protocol. In the other computers in the LAN, start the client program, if the user first runs of the program, the user registration window will pop up.)
    2014-11-25 18:46:13下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载