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

四旋翼 (简单可飞)

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

  • Image_Processing
    数字图像获取, 处理及实践应用源代码——很多有用的图像处理的源代码:图像显示(原图、抖动),图像增强(灰度变换、直方图均衡、多种滤波器、伪彩色增强等),图像复原(运动模糊、逆滤波等等),图像变换(傅立叶变换、快速傅立叶变换、离散余弦变换、沃尔什变换、霍特林变换、小波变换、小波反变换),图像编码(霍夫曼编码、香浓-费诺编码、算术编码、位平面编码等),图像识别。(Digital image acquisition, processing and practical application source code- a lot of useful image processing source code: Image Display (image, jitter), image enhancement (gray-scale transformation, histogram equalization, multi-filter, pseudo-color enhancement, etc. ), image restoration (motion blur, inverse filtering, etc.), image transform (Fourier transform, fast Fourier transform, discrete cosine transform, Walsh transform, Hotelling transform, wavelet transform, wavelet transform), image coding (Huffman coding, Shannon- Fenno coding, arithmetic coding, bit plane coding, etc.), image recognition.)
    2020-06-26 03:20:02下载
    积分:1
  • water
    汪德灌教授那本 计算水力学书后的 perisiman 隐式差分法源代码的 c++版本,我是在fortran代码中改过来的,书中的fortran代码有错误, 请较高人才得以突破 这个东西应该比较有用的吧, 尤其对刚接触这方面知识的 注释很详细哦 而且有输入文件(Professor Wang Deguan that the calculation of hydraulics perisiman after the implicit difference method source code c++ Version, I was changed from fortran code, and the book fortran code error, please talents to break with this higher things you should be more useful, especially for刚接触this regard very detailed knowledge of the Notes and the input file Oh)
    2008-01-10 13:29:29下载
    积分:1
  • C# 自定义DataGridView控件列单元格外观
    C# 自定义DataGridView控件列单元格外观的例子源码,这里只是一个演示,教会一种方法,因此仅定制DataGridView第一列单元格外观。最好是把数据库连接好,有数据读出这样能更好的看到自定义单元格的效果,详细的实现代码请下载源码包。
    2022-08-24 18:26:07下载
    积分:1
  • ldpc--encoding--C
    LDPC编码程序--C语言的 能充分了解和学习该方面的技术(LDPC coding procedures C language can fully understand and learn the technical)
    2007-07-31 21:42:39下载
    积分:1
  • shu
    二叉树的实验报告 源码以及运行结果的说明(Experimental report bintree source and run results)
    2009-01-11 00:58:15下载
    积分:1
  • 51黑论坛_SD卡模块
    基于单片机的SD卡模块的应用程序,用于单片机数据再SD卡的存储(Application Program of SD Card Module Based on Single Chip Microcomputer)
    2019-05-21 22:26:41下载
    积分:1
  • WCF 权限验证 实例源码下载
    wcf 自定义权限验证调用完整例子源码
    2014-12-31下载
    积分:1
  • dataMatrix
    IEC16022 bar code generation library and RS encode
    2020-12-22 19:29:09下载
    积分:1
  • Android平台的具有蓝牙通讯功能的基于opencv-jni的实时读取摄像头并图像处理代码
    基于Android平台,打开摄像头,用opencv实时图像处理,颜色识别,引用JNI方式,opencv代码是C++写的,不用依兰opencvmaneger等,具有蓝牙通许功能,可以跟单片机等嵌入式硬件通讯,可以接受硬件发来的温度,湿度等数据,具有报警功能。
    2022-01-22 16:46:00下载
    积分:1
  • classes can be imported to the academic performance of students and other inform...
    可以输入班级里学生的成绩和其他信息,便于管理-classes can be imported to the academic performance of students and other information to facilitate management
    2022-03-06 20:28:24下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载