登录
首页 » c » LPC1114 MPU6050六轴姿态传感器DMP方式(很稳定)

LPC1114 MPU6050六轴姿态传感器DMP方式(很稳定)

于 2022-07-12 发布 文件大小:929.52 kB
0 36
下载积分: 2 下载次数: 1

代码说明:

//使用NXP的LPC1114FN33的P0_11,P1_10连接MPU6050的IIC,采用MPU6050的DMP方式,直接获取四元数计算姿态,数据很稳定,还可以初始化零位,最大计算频率200Hz,一般的应用足够 int main (void) { int16_t temp[9]; // float ypr[3]; float temp1; float temp2; int16_t angle_temp1,angle_temp2,angle_temp3,angle_circle; // uint8_t i,ucErr,sign = 0; // uint8_t flash_temp[256],flash_temp2[256],i; int16_t Math_hz=0;//,last_Math_hz = 0; int16_t yaw,pitch,roll,full_yaw; int16_t last_yaw=0; SystemInit(); /* Enable AHB clock to the GPIO domain. */ LPC_SYSCON->SYSAHBCLKCTRL |= (1

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

发表评论

0 个回复

  • 南京数据日均负荷 (2)
    说明:  c语言用来进行数值计算的相关程序和论文,非常棒棒棒(C language for numerical calculation of the relevant procedures and papers, very good)
    2021-01-02 09:44:21下载
    积分:1
  • SENSOR_GC1054
    说明:  SENSOR_GC1054的寄存器配置以及基本图像配置(Register configuration and basic image configuration of sensor_gc1054)
    2019-11-19 17:10:21下载
    积分:1
  • Mars_v2
    GPU实现的MapReduce framework,对于学习并行编程和cuda平台的编程方面有着极好的参考价值,里面附带论文。用户要求有NViDIA显卡,并且安装cuda编程环境。(We design and implement Mars, a MapReduce framework, on graphics processors (GPUs). MapReduce is a distributed programming framework originally proposed by Google for the ease of development of web search applications on a large number of commodity CPUs. Compared with CPUs, GPUs have an order of magnitude higher computation power and memory bandwidth, but are harder to program since their architectures are designed as a special-purpose co-processor and their programming interfaces are typically for graphics applications.)
    2009-03-17 11:22:47下载
    积分:1
  • c
    说明:  编写一个函数,输入n为偶数时,调用函数求1/2+1/4+...+1/n,当输入n为奇数时,调用函数 1/1+1/3+...+1/n(利用指针函数) (Write a function, the input n is even, the function call seeking 1/2+1/4+...+ 1/n, when the input n is odd, call the function 1/1+1/3+...+ 1/n (using the pointer function))
    2011-07-18 09:28:07下载
    积分:1
  • ADO
    这是ACCESS的数据库编程文件,可以容易的用在MFC,VC,DELPH等工程环境(ACCESS ADO DATABASE ,MFC VS2008 AND VS2010)
    2013-08-18 10:30:52下载
    积分:1
  • 非常好看的验证码 完整实例下载
    非常好看的验证码 完整实例下载
    2013-11-04下载
    积分:1
  • uCOSII
    ucos From a small number of the concept of real-time kernel, developed a simple algorithm available, the core of the book made a detailed presentation
    2007-09-25 09:56:53下载
    积分:1
  • matlab
    说明:  通过vc与matlab的接口,计算光滑曲面上的平均曲率和高斯曲率 (By vc interface with matlab to calculate the average on the smooth surface curvature and Gaussian curvature)
    2011-04-11 17:09:54下载
    积分:1
  • STM32F103C8T6
    STM32F103C8T6配套程序源码-红外发射和接收(945ccfdsd de d ffd ex xfe d dd)
    2021-03-19 16:09:19下载
    积分:1
  • SClient
    说明:  时间同步客户端,WINDOWS下的.后面有LINUX下的同步客户端.(time synchronization client, the Windows. LINUX is behind the synchronization client.)
    2006-01-15 12:04:58下载
    积分:1
  • 696518资源总数
  • 104271会员总数
  • 57今日下载