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

四旋翼 (简单可飞)

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

  • twoline
    使用c语言和opengl开发出的俩直线相交的程序,适合初学者学习使用(C language using both linear and intersecting opengl developed procedures for beginners to learn to use)
    2013-12-15 19:55:51下载
    积分:1
  • Csharp基础样本。如果你开始#,然后使用这个文件。你将PRA…
    CSharp Basics samples. If you started C#, then using this document. You will practising code writing day to day then you on developing
    2022-07-24 16:16:26下载
    积分:1
  • at88sc0104_linux
    ATSHA204加密IC驱动,附件是基于华为的安防处理器写的,用IO口模拟的I2C驱动,方便移植。(ATSHA204 encryption IC driver, attachment security processor-based Huawei written with analog IO I2C driver, easy to transplant.)
    2014-04-22 11:30:58下载
    积分:1
  • SIFT-RANSAC
    opencv里的SIFT检测与RANSAC提纯,具备RANSC算法的详细步骤,VS2010环境(opencv in the SIFT and RANSAC to detect purified with RANSAC algorithm detailed steps)
    2016-02-28 16:20:23下载
    积分:1
  • d_safe_2.1.4.9
    说明:  Windowsxp底层代码开发,包含所有开发文档及底层架构(Development of Windows XP underlying code)
    2020-06-20 19:20:02下载
    积分:1
  • 图书馆管理系统C#+winform
    基于.NET框架的面向对象语言C#,再配合Visual Studio软件平台进行开发的winform程序
    2022-05-25 14:13:07下载
    积分:1
  • SServer
    说明:  这个demo是一个twain协议实现的demo(This demo is a demo implemented by Twain protocol)
    2020-06-19 22:00:01下载
    积分:1
  • 电子工业出版社的关于C#2.0的最新介绍,值得一看。喜欢的朋友拿去...
    电子工业出版社的关于C#2.0的最新介绍,值得一看。喜欢的朋友拿去-Electronic Industry Publishing House on the C# 2.0 introduced the latest overseas. Like friends away
    2022-10-09 00:15:02下载
    积分:1
  • RunningMachine
    此源码为object c写 是利用ipad来控制跑步机的一个智能终端app,非常有适用价值,可供二次开发用。(This source object c write ipad app, to control an intelligent terminal treadmill very applicable, available for secondary development with.)
    2013-01-18 21:00:54下载
    积分:1
  • 84966220
    在vc下编写的显示不同像素的图形程序代码,很有参考价值,对了解图形显示有好处()
    2018-06-20 04:56:23下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载