-
对传感器MPU6050进行调试设置参数(硬件IIC)
#include "stm32f10x.h"#include "I2C_MPU6050.h"#include "usart1.h"#include "delay.h"int main(void){ InitMPU6050();/***********************************************************************/while(1){printf("
---------------%d
",GetData(ACCEL_XOUT_H));printf("
----------------%d
",GetData(ACCEL_YOUT_H)); printf("
------------------%d
",GetData(ACCEL_ZOUT_H)); printf("
---------------%d
",GetData(GYRO_XOUT_H)); printf("
-----------------%d
",GetData(GYRO_YOUT_H)); printf("
---------Ã---------%d
",GetData(GYRO_ZOUT_H));delay_ms(500);} }/******************* (C) COPYRIGHT 2012 WildFire Team *****END OF FILE************/
- 2022-01-28 09:30:30下载
- 积分:1
-
实参求值顺序的程序。
实参求值顺序的程序。--Program for evaluating real numbers.
- 2022-08-10 13:18:29下载
- 积分:1
-
GY-30模块,采集光照强度数据
单片机采用C8051F310 ,采集模块GY-30光强模块,采集光照强度数据; 上位机(轮询方式)通过RS485总线发送采集命令。
- 2022-09-23 00:30:03下载
- 积分:1
-
"embedded system components revealed" part of the source code informat...
《嵌入式系统构件揭密》部分源代码资料-"embedded system components revealed" part of the source code information
- 2022-01-25 22:18:07下载
- 积分:1
-
12864LCM的应用实例
12864LCM的应用实例-12864LCM examples of the application
- 2022-08-14 09:37:42下载
- 积分:1
-
拨号
DIAL-08.asm for burning 508a chips
- 2022-02-21 05:48:06下载
- 积分:1
-
44bx中文手册
44bx中文手册-44bx Chinese Manual
- 2022-01-26 00:52:27下载
- 积分:1
-
PIC单片机控制12位高速串行DA(max538)产生阶梯波
PIC单片机控制12位高速串行DA(max538)产生阶梯波-PIC SCM 12 high-speed serial DA (max538) ladder generated wave
- 2022-05-06 06:33:00下载
- 积分:1
-
lpc2138 基于数字显示
此代码将指示如何显示数字类型中的虚拟终端......此内容包括 proteus 仿真 keil 环境中的代码。
- 2022-03-20 03:17:45下载
- 积分:1
-
PPPoE在算法实现的源代码
PPPoE协议在Psos中的实现源代码-Psos PPPoE in the realization of the source code
- 2022-05-30 06:24:45下载
- 积分:1