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

四旋翼 (简单可飞)

于 2022-03-23 发布 文件大小:381.45 kB
0 93
下载积分: 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 个回复

  • PL语言到中间代码的编译程序
    PL语言到中间代码的编译程序,vc下编译 (PL language to the interlanguage compiler, under vc translates )
    2020-11-19 00:19:38下载
    积分:1
  • 51
    说明:  51单片机串口控制继电器的C源程序,用电脑控制继电器(51 MCU C source control relay)
    2014-02-21 22:34:42下载
    积分:1
  • ank
    说明:  D3D开发的三维坦克大战程序,碰撞,战斗效果!值得借鉴哦,呵呵!(D3D development of 3D tank warfare program, collision, combat effects! To be learned Oh, Oh!)
    2021-04-20 22:38:50下载
    积分:1
  • JsDateControl
    日期控件,加上JS代码即可,方便易用 (Web Control for Date)
    2009-12-26 20:59:38下载
    积分:1
  • VCSeriesV2.2.2SDK
    天敏系列监控卡SDK,视频采集,数据压缩保存成BMP/JPG/AVI等文件格式(Mortimer Series SDK control cards, video capture, data compression preservation into BMP/JPG/AVI file format)
    2006-07-05 10:49:03下载
    积分:1
  • 一些有用的代码
    它的主要c++代码是为那些想开始学习c++语言的大工程师编写的。
    2022-07-05 13:54:40下载
    积分:1
  • servfox
    基于ARM的网络视频监控开发+网页按钮控制摄像头方位的服务器端采集程序servfox源码(Server-side collection the program servfox source ARM-based network video surveillance Development the+ web buttons control the camera orientation)
    2021-05-06 23:28:36下载
    积分:1
  • DLT645
    DLT645的数据读取,设置串口,后期可能通过数据库读取(read for DLT645 electric)
    2020-12-07 14:59:22下载
    积分:1
  • OrbitalTool
    分析卫星轨道的MATLAB程序包,很多子程序值得借鉴。(Computing satellite orbit with MATLAB software)
    2011-01-19 12:26:00下载
    积分:1
  • 分支限界法实现01背包问题源代码
    通过分支限界算法实现经典0/1背包问题,并得出最优化解(branch and bound algorithm)
    2020-06-16 02:20:06下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载