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

四旋翼 (简单可飞)

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

  • jiediandingwei
    包括RSSI与距离模型转换,以及三边定位,高斯滤波(Including RSSI and distance model conversion, as well as trilateral positioning, Gaussian)
    2016-05-23 20:53:38下载
    积分:1
  • opencvsharp检测圆
    opencvsharp检测圆
    2020-11-04下载
    积分:1
  • 静态优先算法
    静态调度算法是调度之前制定好调度策略,调度过程中按照预先制定的策略进行调度,调度过程中不考虑当前各服务器、网关或链路的实际负载情况及可负载的能力。由于调度不随着当前的负载情况改变而改变,因此称为静态调度算法。算法特点是实现简单、调度快捷。
    2022-03-16 13:24:53下载
    积分:1
  • CodeManage
    说明:  个人代码库,VC6+ACCESS。增删改查,最小化托盘等。(Personal code library, VC6+ ACCESS. Additions and deletions to the investigation, the smallest of the tray.)
    2011-02-28 16:47:08下载
    积分:1
  • multiplication-table
    只是一个课堂上做的九九乘法表,可能很多人做过(Just a class to do multiplication table, many people may have done)
    2011-10-21 19:43:24下载
    积分:1
  • HUFF_SC
    HUFF_SC.ZIP => HUFFMAN Source code.ZIP
    2010-01-19 22:46:01下载
    积分:1
  • Cooperation-Communications
    协作通信仿真实例。通过三种不同协作方式,实现通信的仿真。效果很好!(matlab cooperation communications)
    2014-10-11 23:12:00下载
    积分:1
  • 大比例尺标准图廓生成程序,测绘行业专用哦 cad arx
    大比例尺标准图廓生成程序,测绘行业专用哦(Object ARX)-Large-scale standard diagram profile generation program, surveying and mapping industry dedicated Oh
    2022-01-20 22:36:27下载
    积分:1
  • 贪吃蛇,vc++6.0编译通过
    贪吃蛇,vc++6.0可以直接编译通过,用于参考学习使用
    2022-03-11 13:46:41下载
    积分:1
  • QT5(c++)游戏(项目)--计算器
    用QT5.1O,WIN7,运行通过。可让新手提高兴趣、熟悉编程、提高编程能力。 这个简易计算器可多位数加、减乘除运算。麻雀虽小,五脏俱全。
    2022-08-08 06:35:29下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载