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

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

于 2022-07-12 发布 文件大小:929.52 kB
0 191
下载积分: 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 个回复

  • txt_pqdif
    pqdif格式文件的阅读代码,可以将pqdif文件转为txt文件(pqdif format file to read the code, you can pqdif files to txt file)
    2011-12-02 09:41:39下载
    积分:1
  • Bit_Map
    实现了手机Gps客户端,可以接受并解析Gps信号,显示在线地图和实时路况(Mobile Gps achieve client can accept and parse the Gps signal, display online maps and real-time traffic)
    2010-08-02 11:07:56下载
    积分:1
  • 我iiiiiiiiiiiiiii
    服务器端和客户端 服务器端和客户端 -I I IIIIIIIIIIIIIII
    2022-11-01 18:55:03下载
    积分:1
  • 一个计算税收的小程序,开放环境是vs studio.net 2003,用c#编写的....
    一个计算税收的小程序,开放环境是vs studio.net 2003,用c#编写的.-A small tax calculation process, an open environment is vs studio.net 2003, with c# Prepared.
    2023-05-10 03:55:03下载
    积分:1
  • 2
    说明:  企业短信群发管理系统,谢谢大家,希望对您有所帮助(Bulk SMS business management system, thank you, I hope for your help)
    2014-12-05 13:41:22下载
    积分:1
  • 基于TMS320C55X的LED程序
    基于TMS320C55X的LED程序实例,包含LED程序以及测试程序,对初学者有很大的帮助,感兴趣的可以下载参考一下
    2023-03-11 04:15:03下载
    积分:1
  • video2Image
    视频处理:将视频转换为图片序列,此为具体实现文件(Video processing: convert video to image sequence, this is the concrete implementation file)
    2013-12-04 16:38:09下载
    积分:1
  • 430
    msp430f1**系列单片机机的源程序,适合单片机初学者的c程序。(msp430f1** Series MCU machine source code, suitable for beginners SCM c program.)
    2013-09-10 23:08:03下载
    积分:1
  • TCP_Server_Client
    TCP_IP 的客户端与服务端的详细源码(TCP_IP client and service side of the detailed source)
    2008-05-22 16:37:08下载
    积分:1
  • STM32-ENC28J60DEMO-V3
    STM32 网口通信STM32-ENC28J60DEMO-V3(STM32 Ethernet port communication STM32-ENC28J60DEMO-V3)
    2014-02-28 10:04:49下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载