登录
首页 » c » MPU6050测试码

MPU6050测试码

于 2022-04-10 发布 文件大小:630.12 kB
0 99
下载积分: 2 下载次数: 1

代码说明:

开始玩四轴的时候,使用STM32F407读写MPU6050。各种尝试始终无法使用,最后怀疑IIC有问题,用示波器看了,波形很好。判断是软件问题,耐心看手册,咨询了别人,均无果····后来担心是芯片焊接温度过高,坏了,最后索性买了个MPU6050小板子,要了程序,一看别人初始化才明白!!!我看错手册,把Power Management 1 的CYCLE  写1了,是MPU6050处入半休眠模式,要数据唤醒,所以有一个考虑程序做参考,比自己没有方向瞎摸索强多了,特地分享给大家

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

发表评论

0 个回复

  • voltagesourceinvlcfltr
    该工程为基于C2000系列的DCAC逆变器源代码,适合于初学者(The project is based on the C2000 series DCAC inverter source code, suitable for beginners)
    2018-06-29 22:29:43下载
    积分:1
  • STM32F0xx_StdPeriph_Lib_V1.5.0
    说明:  stm32f0的固件包,超级的实用,不需要再去官网下载了。(Stm32f0 firmware package, super practical)
    2020-06-18 12:20:01下载
    积分:1
  • AMRNB语音编解码器
    AMRNB语音编解码器 无线通信领域经典的,也是现在用的最多的编解码标准,GSM、WCDMA窄带部分都是用这个编解码。 AMR的编解码是基于ANSI-C实现的编解码定点代码,便于在各种平台上进行移植。
    2023-07-04 01:50:04下载
    积分:1
  • win32programming
    在WIN32中,每一个线程都对应着一个消息队列。由于一个线程可以产生数个窗口,所以并不是每个窗 口都对应着一个消息队列。下列几句话应该作为"定理"被记住: "定理" 一 所有产生给某个窗口的消息,都先由创建这个窗口的线程处理; "定理" 二 Windows屏幕上的每一个控件都是一个窗口,有对应的窗口函数。消息的发送通常有两种方式,一是SendMessage,一是PostMessage(In WIN32, each thread corresponds to a message queue. Since a thread can have several windows, so not every window corresponds to a message queue. The following words should be a " theorem" to be remembered: " Theorem" all produce a message to a window, all threads initially create the window treatment " Theorem" Two Windows on the screen is a control for each window, there is the corresponding window function. Messages sent are usually two ways, first, SendMessage, PostMessage first)
    2010-08-26 08:43:28下载
    积分:1
  • 很简单的表达式求值程序,DC编程下完成的
    很简单的表达式求值程序,DC编程下完成的-very simple formula that evaluates procedures, DC program completion
    2023-05-21 01:15:04下载
    积分:1
  • RTX_Blinky
    this project is for using spi port in NXP philips arm microcontrollers
    2011-09-04 19:16:49下载
    积分:1
  • matlab-simulated-annealing
    matlab模拟退火法,包含程序和算例,基于matlab开发的(matlab simulated annealing)
    2013-08-03 16:07:49下载
    积分:1
  • CodeCave
    win7下利用CreateRemoteThread函数hook记事本,弹出一个对话框(Under win7 use CreateRemoteThread hook notepad function, a dialog box pops up)
    2014-02-16 17:11:07下载
    积分:1
  • 5__training
    智能小车实现智能循迹的功能,可以测量小车的速度,有5个传感器检测地面上黑线的位置。(Intelligent Vehicle Tracking intelligent features, speed car can be measured, there are five sensors detect the location of the black line on the ground.)
    2010-06-24 16:39:49下载
    积分:1
  • 两台步进电机悬挂系统
    通过利用两台步进电机实现悬挂物体运动轨迹的控制,实现从点对点的运动、任意设定圆心的圆周运动,曲线运动。 (through the use of two stepper motor to achieve flag objects trajectory control from a point-to-point movement, arbitrary set of circular motion Center, curve campaign.)
    2020-07-14 12:48:52下载
    积分:1
  • 696518资源总数
  • 106182会员总数
  • 24今日下载