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

四旋翼 (简单可飞)

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

  • ProgrammingWindows
    书 名:Programming Windows程式开发设计指南 原 作 者:Charles Petzold 译 者:余孟学 (Title: Programming Windows program to develop design guidelines original author: Charles Petzold Translator:余孟school)
    2008-06-19 21:38:42下载
    积分:1
  • BDX
    设计、编写和调试面向对象C++程序,实现任意两个同类数据比大小 的通用函数(模板),涵盖普通数值型数据之间的比较、两个字符串之间的比较 (按字典序)、两个复数之间的比较(按模大小)等,并通过主函数加以调用和 测试。(Design, writing and debugging of object-oriented C++ procedures to achieve similar data than the size of any two generic functions (template), covering general comparison between numerical data, the comparison between the two strings (lexicographically), two Comparison between complex numbers (modulo the size), and through the main function to be invoked and tested.)
    2020-11-28 13:49:29下载
    积分:1
  • 这是一个位图处理的函数库,C#写的。可以对位图进行各种模式的混合,可以像photoshop那样灰度蒙版,可以调整位图的色彩曲线,可以高斯模糊,当然还有写常见的功...
    这是一个位图处理的函数库,C#写的。可以对位图进行各种模式的混合,可以像photoshop那样灰度蒙版,可以调整位图的色彩曲线,可以高斯模糊,当然还有写常见的功能比如去色啊,增强色彩等功能。 因为东西比较多,所以文件很大,有1500多行,呵呵~-This is a bitmap handle of the library, C# Written. Bitmap can be a mixture of various modes can be as gray as the Mongolian version of photoshop, you can adjust the color bitmap curve, can be Gaussian blur, of course, to write common functions such as color ah to enhance the color and other functions . Because of something more, so big files, has more than 1500 lines,呵呵~
    2022-02-05 01:48:05下载
    积分:1
  • AM335x_gpio_control--master
    控制GPIO AM335x_gpio_control (am335x gpio control )
    2013-12-08 08:22:07下载
    积分:1
  • stm32上移植uc-osii实时操作系统
    在stm32f107上移植的uc-osii的实时操作系统,针对stm32基于Corter-M系列低功耗处理器,没有MMU内存管理单元,对于非实时操作系统Linux等无法移植使用,因此为了完成复杂的功能,在stm32f107上移植实时操作系统非常有必要,uclinux和uc-osii等操作系统。本工程采用kell4开发软件,移植uc-osii实时操作系统,使用者可以下载后更改完配置后,直接进行多任务开发使用。
    2022-07-15 15:48:28下载
    积分:1
  • MPC2515驱动程序 初始化 SPI访问读写 病房呼叫系统应用
    MPC2515如何实现CAN通信功能,如何实现应用层的开发,怎么调用具体的底层函数。
    2023-06-27 05:45:03下载
    积分:1
  • 用C编写的一个简单的HTML页面#获得程序
    用C#编写简单获取得网页的HTML的程序-With C# Prepared a simple HTML page to obtain the procedure
    2023-06-28 20:20:03下载
    积分:1
  • gsm-1.0pl2.tar
    GSM 06.10 13 kbit/s RPE/LTP语音压缩(GSM 06.1013 kbit/S RPE/LTP voice compression)
    2020-06-26 14:40:02下载
    积分:1
  • constructaproperty
    构造函数与属性代码模板 仅供参考 互相学习(ADO.Net access database source template)
    2013-03-27 17:50:09下载
    积分:1
  • 驰海电机旧驱动位置闭环 - 114
    说明:  在stm32f407vet6上写的关于驰海电机闭环驱动程序(Closed-loop Driver for Chihai Motor Written on stm32f407vet6)
    2021-05-14 15:30:03下载
    积分:1
  • 696518资源总数
  • 106161会员总数
  • 5今日下载