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

C51.MPU6050程序

于 2022-04-29 发布 文件大小:7.26 MB
0 115
下载积分: 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 个回复

  • 123
    gjbtouibtfnf68d7f 5dvb yd esdsd57exze54zxezx5ezx5ezr4z4z7w4ze5s7sxv7sxv7rxxzezeszezxezez7ezezezevzezezezd
    2022-01-28 15:56:51下载
    积分:1
  • ucgui
    这是ucgui的资料,是在ucos系统上实现的,很适合初学者学习,练习,开发,个人感觉是不错的资料,帮助我很多。(This is ucGUI, is implemented in the UCOS system, it is suitable for beginners to learn and practice, development, personal feeling is good information and helped me a lot.)
    2016-01-03 11:51:10下载
    积分:1
  • 基本例程-USART收发
    说明:  基于stm32f103r8t6的串口例程,实现数据的收发方式(Based on stm32f103r8t6 serial port routine to achieve the data transmission mode)
    2020-06-22 09:40:07下载
    积分:1
  • c++入门实例
    大一c++入门.包括简单的课本作业的完整代码,对新手有很大的帮助作用。欢迎使用。来自大一上册课本。大一c++入门.包括简单的课本作业的完整代码,对新手有很大的帮助作用。欢迎使用。来自大一上册课本。
    2022-03-19 03:34:37下载
    积分:1
  • MD5
    c++实现的MD5算法及测试代码,BCB2007的测试工程(c++ implementation of the MD5 algorithm and test code, BCB2007 test engineering)
    2013-07-25 15:52:57下载
    积分:1
  • booksave
    将结构体中的内容保存到指定文件,打开指定文件添加内容,添加完毕关闭文件(To save the contents of the structure to the specified file, open the specified file to add content, add close the file)
    2015-01-15 15:39:11下载
    积分:1
  • 标签打印机二次开发包 V2.08
    北洋posdemo,我项目中使用了此开源代码,非常好用(Beiyang posdemo, I used this open source code in my project, which is very easy to use.)
    2020-12-14 15:09:14下载
    积分:1
  • H系列芯片调试工具
    H系列摄像机芯片调试工具,有需要的朋友可以下载(H series camera chip debugging tools, friends in need can download)
    2020-06-19 06:20:01下载
    积分:1
  • girl
    cocos3d做的美女模型,可在iphone ipad 上运行(the beautiful model cocos3d do can be run on iphone ipad)
    2020-09-12 13:38:00下载
    积分:1
  • 03-2D
    matlab_入門程式範例台灣大學張智星教授撰寫(matlab entry program examples)
    2015-01-29 13:35:49下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载