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

C51.MPU6050程序

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

  • EX49_STEP-MOTOR-IR
    EX49_STEP MOTOR IR 红外遥控步进电机演示程序 使用红外遥控器对步进电机的转动方向和速度进行控制 通过1602液晶显示红外遥控器键值编码,(EX49_STEP MOTOR IR Infrared remote control stepper motor demo program Use infrared remote control to control the stepper motor rotation direction and speed 1602 LCD infrared remote control key coding)
    2012-05-14 20:07:50下载
    积分:1
  • SHOOT2
    this program to compute the shoot function
    2013-12-19 10:41:34下载
    积分:1
  • 手势小车
    说明:  MPU6050能够根据手势变化产生不同数据,经过stm32处理后控制小车的运动(Mpu6050 can generate different data according to gesture changes, and control the movement of the car after STM32 processing)
    2020-02-03 11:05:27下载
    积分:1
  • PCI_Bus_Demystified_2nd_Ed
    This book is intended as a thorough introduction to both PCI and PCI-X. Is as a “companion” to the specifications. If you’re designing boards or systems using offthe-shelf PCI interface silicon, this book together with the silicon vendor’s data sheets should be sufficient for your needs. On the other hand, if your goal is to design PCI silicon, motherboards or backplanes, you will undoubtedly need to reference the specifications for additional detail.
    2009-05-11 20:52:10下载
    积分:1
  • LSM_Match
    说明:  阅读您的文件最小二乘匹配and高斯解方程子程序(Read your document matching and least-squares Gauss solution equation Subroutine)
    2008-11-28 01:59:01下载
    积分:1
  • UniqueInstance
    VC6.0实现的,只能有一个程序实例运行的例子程序。两套实现方案。一个使用互斥对象,一个使用找到窗口句柄(VC6.0 achieved, there can be only one instance to run the example program. Two implementations. Use of a mutex object, a window handle to use to find)
    2013-12-07 11:08:13下载
    积分:1
  • SPI STM32F051C8T6 SPI1
    说明:  SPI STM32F051C8T6 coonfig SPI
    2020-06-19 07:00:01下载
    积分:1
  • yingshiping5
    Visual C++音视频编解码技术及实践-第五章代码(Visual C++ Audio Video Coding and Practice- Chapter V code)
    2007-09-27 09:15:52下载
    积分:1
  • 龚建伟串口调试助手源码
    龚建伟串口调试助手源码,MFC界面,C语言编写(Serial debugging assistant source code)
    2018-12-07 15:40:49下载
    积分:1
  • Syndication实现读取、创建、订阅、更新Rss例子 附完整源码下载
    该实例主要目的是了解Syndication,并实现了如下功能                                                           一、了解RSS源     二、RSS源格式     三、如何创建RSS源     四、如何订阅RSS源      五、如何更新RSS源
    2020-10-18 18:27:27下载
    积分:1
  • 696516资源总数
  • 106442会员总数
  • 11今日下载