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

C51.MPU6050程序

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

  • read
    含有一个 CSpreadSheet类实现对Excel文件的读写的封装(Contains a CSpreadSheet class implements encapsulation of Excel file to read and write)
    2017-03-23 22:42:08下载
    积分:1
  • weixingdingwei
    作者在学习《航天系统》时,在c++6.0环境中实现的卫星定位的算法程序。包括通过轨道根数求卫星状态参数的算法和通过卫星状态参数反求卫星星历的算法。(Author of the study "space system" is in c++6.0 environment to achieve the satellite positioning algorithm. Including through the orbital parameters of the algorithm for the satellite status and Reverse status parameters via satellite satellite ephemeris algorithms.)
    2013-09-25 19:42:10下载
    积分:1
  • T医疗影像数据仓库系统
    说明:  设备绩效管理,数据展示分析,全文检索,疾病预测(Device Management, Data Analysis and Predict)
    2020-06-25 03:00:02下载
    积分:1
  • excell批量翻译
    可实现excell表自动翻译,省去了人工翻译的麻烦,如nessus下载的报告都是英文的,可用该代码实现批量化翻译,大大的减少了工作量,希望此次上传可以对大家有所帮助,谢谢!
    2022-02-15 21:46:33下载
    积分:1
  • 完整的四人网络麻将游戏
    实现了一个完整的四人网络麻将游戏,该程序集服务器与客户端功能与一体。本章主要介绍了非对等的网络服务功能的建立,传输信息的序列化,建立虚拟的三维空间,绘制图形和显示位图,在内存中创建位图和绘制图形等。(achieve a complete network of four mahjong games, the procedures set server and client functions and integration. This chapter introduces the non-reciprocal network services established, the sequence of transmission of information, the establishment of a virtual three-dimensional space, drawing and display bitmap in memory to create bitmap graphics and mapping.)
    2005-06-20 16:32:22下载
    积分:1
  • FileClient
    Fei transmission similar to the LAN chatting transmission procedures, regardless of the server and client, he can take full advantage of the LAN network resources, transmission speed over 10MB/s, but is aesthetically pleasing user interface
    2014-10-30 16:06:06下载
    积分:1
  • iqps
    C++ program using OpenMP to solve 2D levels from the IQ-puzzle 505 from Lonpos from designtorget.se Look in level.txt for example usage. Compile program using gcc with: gcc -O3 -fopenmp -o iqps iqps.cpp Run with: ./iqps (path to level.txt)
    2017-08-15 02:34:38下载
    积分:1
  • UDP聊天
    实现局域网简单通信,采用广播传播实现群主通信。适用于办公室公司等局域网。主要使用了c#的UDP线程功能完成
    2022-02-02 16:41:35下载
    积分:1
  • HankEditor
    该代码编写了一个带多窗口的文本编辑器,基本上包含了一个编辑器上该有的功能(The code has prepared a multi-window with the text editor, basically contains an editor on the functional)
    2007-11-27 20:36:32下载
    积分:1
  • fftshift
    主要是用c语言实现matlab中的fftshift函数的,(Mainly used c language matlab in fftshift function,)
    2013-09-22 14:57:46下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载