-
对传感器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
-
This code is based on MiniGUI platform presents a continuous waveform display me...
本代码提出一种基于MiniGUI平台的波形连续显示方法。通过MiniGUI提供的图形函数,以一种简洁的屏幕移动思想实现了波形的连续显示。为嵌入式示波设备的波形绘制提供了有效的参考思路。-This code is based on MiniGUI platform presents a continuous waveform display method. MiniGUI provided through a graphical function to a simple screen mobile ideology of continuous waveform display. Oscillographic waveforms for embedded devices provide an effective reference for drawing ideas.
- 2022-07-13 20:39:47下载
- 积分:1
-
ch375 usb stm32
应用背景usb host 鼠标,键盘,usb设备,读取鼠标数据关键技术usb host ,stm32通过ch375作为主机读取usb设备数据
- 2023-07-19 20:15:07下载
- 积分:1
-
线程池,c语言实现的
多线程的工作,线程池的利用,动态的停止和添加线程。该程序是在linux系统下实现的线程池。在大型项目中使用稳定性还可以。希望大家认真阅读,供大家前来学习,c
- 2022-03-19 03:02:53下载
- 积分:1
-
RTOS REWORKS
ReWorks里一个有关信号的例子
RTOS REWORKS
ReWorks里一个有关信号的例子-RTOS REWORKSReWorks in a signal example of
- 2022-03-20 09:55:36下载
- 积分:1
-
通过I2C接口dspic30f4011_and_eeprom_24c02 C30编译器代码
code for c30 compiler for interfacing DsPic30F4011_and_eeprom_24c02 via i2C
- 2022-02-06 05:18:46下载
- 积分:1
-
an Interrupt
一个中断驱动的具有缓冲区的串口源码(C)-an Interrupt-driven serial port with the source buffer (C)
- 2022-03-15 21:53:05下载
- 积分:1
-
eboot源码,有一定参考价值,对熟悉ARM开发有帮助
eboot源码,有一定参考价值,对熟悉ARM开发有帮助-eboot source, a certain reference value, familiar with the ARM development help
- 2022-08-10 17:25:18下载
- 积分:1
-
用c++编写嵌入式多任务操作系统
用c++编写嵌入式多任务操作系统- Compiles with c inserts the type multi- duties operating system
- 2023-07-18 07:20:04下载
- 积分:1
-
linux内核编程.绝对精彩
linux内核编程.绝对精彩-linux kernel programming. absolutely brilliant
- 2022-08-24 20:52:46下载
- 积分:1