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

四旋翼 (简单可飞)

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

  • IIC-test
    用STM32模拟IIC主机,读取24c0x的内容。(Using STM32 simulation IIC host, read the contents of the 24 c0x.)
    2015-03-27 10:34:53下载
    积分:1
  • WebConference2
    c# web 视频会议。可以共享桌面、应用、白板。可以进行声音和视频会话。(c# web video conferencing. Can share the desktop, applications, white board. Can be the voice and video conversations.)
    2008-03-28 15:59:35下载
    积分:1
  • liver_ultr
    Abstract—Noninvasive ultrasound imaging of carotid plaques allows for the development of plaque-image analysis methods associated with the risk of stroke. This paper presents several plaqueimage analysis methods that have been developed over the past years. The paper begins with a review of clinical methods for visual classification that have led to standardized methods for image acquisition, describes methods for image segmentation and denoizing, and provides an overview of the several texture-feature extraction and classification methods that have been applied. We provide a summary of emerging trends in 3-D imaging methods and plaque-motion analysis. Finally, we provide a discussion of the emerging trends and future directions in our concluding remarks.
    2013-10-28 12:36:04下载
    积分:1
  • F281xPMSM3_4(FOC)
    F281x PMSM3_4:含传感器、PMSM的定位控制使用 QEP).(F281x PMSM3_4: with sensor, PMSM position control using the QEP).)
    2010-08-11 15:22:26下载
    积分:1
  • 高光谱遥感图像处理软件包
    说明:  use to handle high remote sensing data
    2020-06-28 23:00:01下载
    积分:1
  • Qt Creator快速入门 第三版 (带源码)
    Qt Creator快速入门 第三版 (带源码)
    2020-11-28下载
    积分:1
  • ChangeSkin
    本程序提供两种界面换肤方式,文件夹中实现的是加载皮肤文件实现界面换肤(This program offers two kinds of interface ways, is to load the skin file folder in realizing interface change skin )
    2013-06-06 22:53:36下载
    积分:1
  • 54ca83b4
    说明:  压缩包内自带飞行数据,直接可用,附带结果说明word(The flight data is provided in the compressed package, which is directly available, and the result description word is attached)
    2020-08-21 00:44:19下载
    积分:1
  • 仿微信发红包程序
    程序采用正态分布算法实现红包发放功能,主要分为定额红包、随机额度红包两种。
    2022-01-26 08:04:41下载
    积分:1
  • qt 简单 时钟类
    5 综合编程:可视化时钟5.1 演示案例【任务目标】实现如图所示的可视化时钟效果,钟表指针适时更新。要求整个表盘是客户区矩形的最大内接圆,随着窗口大小的变化而自适应变化,指针的大小也能相应变化。设计对话框,允许用户设置表盘、刻度及指针的颜色,在对话框内能够显示时钟的预览效果 【分析设计】可以采用最简单的设计,程序启动后触发定时器消息,在定时器事件处理方法中刷新窗体显示,在 paintEvent 方法中绘制可视化时钟。这种设计方案比较复杂,绘制时针、分针、秒针的代码比较复杂冗余。 paintEvent 的代码只能在窗体中绘制,如果要在其它地方绘制(如对话框中的预览效果),整个处理逻辑难以复用。整个时钟由表盘和 3 个指针构成,各自有不同的处理逻辑,将表盘处理和绘制封装在 Plate 类中, 3 个指针的处理逻辑时类似的,抽象出 Arm 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
    2022-02-07 01:43:43下载
    积分:1
  • 696516资源总数
  • 106442会员总数
  • 11今日下载