-
贪吃蛇小游戏
#include "stdafx.h"#include #include #include #include #include #include "snake.h"int score = 0;//分数初始值int gamespeed = 100;//蛇运行速度/*函数声明区*/void Init();//图形初始化void Close();//关闭图形void Game_interface();//游戏界面void GameOver();//游戏结束void GamePlay();//运行游戏void PrintScore();//输出分数
- 2022-02-20 05:54:52下载
- 积分:1
-
华为面试算法题目
华为面试算法经典题目,里面涵盖近几年华为的笔试和面试的题目,在你的求职笔试中,带来更大的帮助。
- 2023-07-26 07:45:04下载
- 积分:1
-
ICP_And_GICP-master
说明: ICP AND GICP,ICP算法和GICP的C代码,可以用于点云匹配。代码有注释。简单易懂。适合初学者研究学习。(ICP AND GICP MASTER,ICP AND GICP MASTER,)
- 2020-05-25 10:25:13下载
- 积分:1
-
选择题效果
使用tableView 自定义cell 单选题效果
- 2022-10-04 06:50:03下载
- 积分:1
-
超市销售系统
具有完善的销售管理系统的功能 代码完善简单易学 界面友好 很适合初学者学习参考
- 2023-01-19 12:00:05下载
- 积分:1
-
AVRTemperatureControlSystem
基于 AVR 单片机的水温自动控制系统
摘要: 本系统以 ATMEGA16 单片机作为系统的检测和控制核心,采用温度传感器
AD590实现0—100℃温度范围内的实时温度采集,通过双向可控硅 BT136 控制电热杯对系统进行加热,利用继电器控制半导体制冷片对系统进行散热。通过一线键盘实现对任意温度值进行设定并对模糊 PID 参数的调整,液晶 LCD1602 实时更新显示当前温度测量值与键盘设定温度值。利用模糊 PID 算法,通过调功法对水温系统进行控制,实现在 0—100℃范围内任意设定温度值,静态误差小于±0.5℃。
关键词: AVR 单片机 水温自动控制 模糊 PID 算法
(AVR Microcontroller Based Temperature Control System
Abstract: This system ATMEGA16 microcontroller as the core monitoring and control system using the temperature sensor
AD590 0-100 ℃ temperature range to achieve real-time temperature acquisition, through triac BT136 control system for electric heating cup, using relay control system for semiconductor cooling heat tablet. Achieved through the keyboard line value for any temperature setting and adjustment of fuzzy PID parameters, real-time updates LCD1602 LCD displays the current temperature measurements and the keyboard set temperature. Fuzzy PID algorithm, the system transfer function method of temperature control, to achieve the 0-100 ℃ adjustable set temperature, the static error is less than ± 0.5 ℃.
Keywords: AVR microcontroller water temperature control fuzzy PID algorithm )
- 2010-05-13 11:32:02下载
- 积分:1
-
etc修改工具
问道修改ETC工具,问道修改商城工具,详细请看说明(Ask about modifying ETC tools, ask about modifying mall tools, see the instructions for details.)
- 2020-06-25 09:40:02下载
- 积分:1
-
C# 通过SqlReader HasRows判断指定表中是否有数据
本例主要是判断指定的数据库数据表中是否有数据,这里使用了通过判断HasRows的返回值来判断,若返回值为真,则有数据,反之则无数据,最后用MessageBox.Show显示判断结果,完整的过程:
//实例化SqlConnection变量conn
SqlConnection conn = new SqlConnection("server=.;database=db_14;uid=sa;pwd=");
conn.Open();//打开连接
//创建一个SqlCommand对象
SqlCommand cmd = new SqlCommand("select * from " + textBox1.Text.Trim(), conn);
//使用ExecuteReade方法创建SqlDataReader对象
SqlDataReader sdr = cmd.ExecuteReader();
sdr.Read();//调用Read方法读取SqlDataReade
if (sdr.HasRows)//使用HasRows属性判断结果中是否有数据
{
MessageBox.Show("数据表中有值");//弹出提示信息
}
else
{
MessageBox.Show("数据表中没有任何数据");
}
- 2022-02-07 01:03:03下载
- 积分:1
-
hilbert
说明: 希尔伯特变换,用来求某一信号的相位。很好用的。(hilbert transform)
- 2011-03-03 22:32:36下载
- 积分:1
-
AsyncToolsfortheAsyncMinded
window下 出口同步通信工具,提供c++源码,说明详细(window exporting synchronous communication tools, c++ source code, specify details)
- 2007-05-12 23:28:23下载
- 积分:1