登录
首页 » c » 四旋翼 (简单可飞)

四旋翼 (简单可飞)

于 2022-03-23 发布 文件大小:381.45 kB
0 92
下载积分: 2 下载次数: 1

代码说明:

#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

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • POP3_EXAMPLE
    Pop3客户端接收信件的整个流程: 1。连接到pop3服务器(默认端口110) 2。发送用户名(user) 3。发送密码(pass) 4。查询当前邮箱状态(stat) 5。查询服务器上所有邮件UID列表(UIDL) 6。查询本地所有邮件的UID列表,从而罗列出新邮件列表(本地UID列表是POP3客户端记录在日志文件中的) 7。对所有新邮件查询其大小(LIST) 8。下载所有新邮件(RETR)利用List提供的邮件大小信息 9。如果有必要,对所有新邮件标志为删除(DELE) 10。结束对话(QUIT) 11。解析本地下载邮件。(Pop3 client receives the entire flow of letters: 1. Connect to the pop3 server (default port 110) 2. Send user name (user) 3. Send password (pass) 4. Query current mail status (stat) 5. Query server UID list of all messages (UIDL) 6. Query local UID list of all messages, which set out the new mailing list (local UID is a POP3 client list recorded in the log file) 7. For all new e-mail inquiries about their size (LIST) 8. Download all new messages (RETR) to use List of information provided by message size 9. If necessary, for all new signs for the delete message (DELE) 10. The end of the dialogue (QUIT) 11. Analysis of local download your mail.)
    2021-01-03 19:38:55下载
    积分:1
  • aa_dima2
    My materials for this website.
    2010-11-29 14:34:14下载
    积分:1
  • 双通道成码
    说明:  2015年电赛频率计,精密度高,简单易实现,双通道实现捕获(2015 frequency race frequency meter, high precision, easy to implement, dual channel capture)
    2020-06-20 03:00:02下载
    积分:1
  • 44b0
    这是一个44b0入门的好程序ADS开发环境打开之后就可直接用的FriendlyARm44b0系列(This is a good entry-44b0 program to open after the ADS development environment can be directly used in FriendlyARm44b0 Series)
    2010-01-16 09:41:25下载
    积分:1
  • unzip11
    说明:  文件包含了一种解压缩文件UNZIP的C源程序代码。(C )
    2010-04-03 15:34:25下载
    积分:1
  • MFC-tab
    MFC中的TAB控件实例编程,带TAB图标(The TAB control instance in the MFC programming with TAB ICONS)
    2021-04-20 15:08:50下载
    积分:1
  • DS18B20
    DS18B20.rar
    2008-09-19 14:45:10下载
    积分:1
  • 774547
    ACM关于图论相关的知识,都是一些模板代码,对参加ACM竞赛非常有用的,()
    2018-07-07 07:31:43下载
    积分:1
  • TLC2543jiekoufangzhen
    51单片机与DAC芯片TLC2543的接口仿真,包含源程序、proteus仿真,以及芯片资料,望大家喜欢。(TLC2543 DAC 51 and the interface chip simulation, including source code, proteus simulation, and chip information, hope you like it.)
    2011-05-02 23:20:52下载
    积分:1
  • Ffpga-jpegP
    基于FPGA的JPEG图像压压缩,实现JPEG图像的实时压缩 (Real-time compression pressure compressed FPGA-based JPEG images, JPEG images)
    2012-08-23 22:11:39下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载