-
四旋翼 (简单可飞)
#include
#include "newtype.h"
#include "delay.h"
#include "Clock.h"
#include "timer.h"
#include "pwm4.h"
#include "uart1.h"
#include "uart2.h"
#include "I2C.h"
#include "spi.h"
#include "spi2.h"
#include "adc1.h"
#include "adc2.h"
#include "capture1.h"
#include "control.h"
#include "rc.h"
#include "IMU.h"
/*
u8 key_scan(void)
{
static u8 key_down=0;
if(key_down==0 && (P2IN & BIT1==0 || P1IN & BIT1==0))
{
key_down=1;
delay_ms(10);
if(P2IN & BIT1==0)
return 1;
if(P1IN & BIT1==0)
return 2;
}else if(P2IN & BIT1==1 && P1IN & BIT1==1) key_down=0;
return 0;
}
*/
u8 key_flag=0;
u8 key_start=0;
extern u8 updown;
u8 i;
void System_I
- 2022-03-23 19:11:42下载
- 积分:1
-
LockScreen
windows C#写的一个锁屏的小例子,供大家参考(windows C# to write a lock screen of small examples for your reference)
- 2013-05-25 14:23:29下载
- 积分:1
-
4-SysTick—系统定时器
说明: 利用库函数定时器实现定时功能,实现精确计时,使用DELAY无法实现精确(Using library function timer to realize timing function and precise timing, using delay can not achieve precision)
- 2019-11-30 17:25:17下载
- 积分:1
-
c++ 调取摄像头例子源码(服务器端+客户端)网络编程
c++ 调取摄像头例子源码(服务器端+客户端)网络编程
- 2015-05-05下载
- 积分:1
-
Test
win7 x64 过TP源码,看雪大神发的,学习必备(win7 x64 pass tp,win7 x64 pass tp,win7 x64 pass tp.)
- 2015-10-29 11:40:19下载
- 积分:1
-
MATLAB
matlab编写的一个递归应用,同时生成动态链接库(dll)。并用vc++测试(matlab generate dynamic link library (dll). And using vc++ test)
- 2013-11-27 15:11:36下载
- 积分:1
-
matlab
用matlab实现语音的加噪去噪过程,FFT变换(Implementation using matlab voice add process noise denoising, FFT transform)
- 2009-03-08 11:21:20下载
- 积分:1
-
fingerprint
fingerprint recognition
- 2013-11-15 22:26:35下载
- 积分:1
-
uart
说明: 基于IAR开发环境 野火的串口库文件,C和H文件(Serial port library based on IAR wildfire)
- 2020-06-16 21:40:01下载
- 积分:1
-
usart
AVR ATmeg16单片机的串口通信,这个程序非常实用,发送采用查询方式,接收采用中短方式。(This pramer is very good,it can transmit your massage you press on the software of PC.Try it and like it.)
- 2010-11-07 08:37:14下载
- 积分:1