-
四旋翼 (简单可飞)
#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
-
MachRemote
MACH3软件二次开发的一个实例程序,希望对喜欢MACH3二次开发的朋友有帮助。(MACH3 software secondary development of an example program, we want to enjoy MACH3 secondary development to help a friend.)
- 2021-01-15 15:28:46下载
- 积分:1
-
LCD1602使用手册-中文详细版
LCD1602的中文参考手册,包含了1602的所有信息,对于要使用1602的朋友很有帮助(The Chinese reference manual of LCD1602, which contains all the information of 1602, is very helpful for friends who want to use 1602.)
- 2020-06-19 15:00:01下载
- 积分:1
-
SAMP
压缩感知重构算法之稀疏度自适应匹配追踪(SAMP)(Sparse degree adaptive matching tracking (SAMP) of compressed sensing reconstruction algorithm)
- 2020-12-14 16:09:14下载
- 积分:1
-
LCD1602使用手册-中文详细版
说明: LCD1602的中文参考手册,包含了1602的所有信息,对于要使用1602的朋友很有帮助(The Chinese reference manual of LCD1602, which contains all the information of 1602, is very helpful for friends who want to use 1602.)
- 2020-06-19 15:00:01下载
- 积分:1
-
unit-8
谭浩强C程序设计第四版第8章习题答案,自己做出来的( C Programming Fourth Edition Chapter 8 Exercise answers, do it yourself)
- 2013-07-31 22:16:17下载
- 积分:1
-
s_M
这是一个基于STC89C51的串行通行程序,可与主机进行通信(This is a common procedure based on serial STC89C51 can communicate with the host)
- 2010-08-11 14:57:39下载
- 积分:1
-
RecommendedExercise2
ssd5 Recommend exercise 2(ssd5rex2)
- 2010-11-11 09:43:19下载
- 积分:1
-
一款用directUI开发的斗地主界面
用direct UI 开发的仿斗地主界面,比较实用的一款代码,下载后,实测用vs2010可以编译成功,并显示正常功能,感觉有点啰嗦了~~~~
- 2023-03-04 02:25:03下载
- 积分:1
-
舵机测试C51程序
说明: 51网站上下载的利用蓝牙控制小车和舵机的程序,可实现蓝牙控制舵机(The program downloaded from website 51 that uses Bluetooth to control the car can realize Bluetooth to control the car.)
- 2020-06-20 23:00:01下载
- 积分:1