-
keytest
使用外部中断的方法,使用按键中断点亮一个灯(Method of using external interrupt, use the button to light a lamp)
- 2013-10-20 08:07:07下载
- 积分:1
-
C++扫雷游戏代码
简易扫雷游戏,不用图片,直接运行即可
- 2022-03-01 23:55:22下载
- 积分:1
-
blueZ-5.33移植+刘见1
说明: 蓝牙协议栈5.33的详细移植文档及其依赖库的移植过程(Detailed Porting Document of Bluetooth Protocol Stack 5.33)
- 2021-04-07 22:19:01下载
- 积分:1
-
四路寻迹
#include
#define CAR_SPEED_MAX 10 //最大速度
sfr P4=0xe8;
sbit PWM_R=P1^7; //PWM输出
sbit PWM_L=P1^2;
sbit Moto_RA=P1^6;
sbit Moto_RB=P1^5;
sbit Moto_LA=P1^4;
sbit Moto_LB=P1^3; //左右电机驱动
unsigned char Moto_Speed_R; //右轮速度
unsigned char Moto_Speed_L; //左轮速度
unsigned char Moto_Speed_Num; //PWM调速
sbit INF_R0=P4^3; //循迹 右侧内传感器
sbit INF_R1=P4^2; //循迹 右侧外传感器
sbit INF_L0=P4^1; //循迹 左侧内传感器
sbit INF_L1=P4^0; //循迹 左侧外传感器
unsigned char Car_Sta; //电机启动速度
/***********************************
*函数名称:void Delay(unsigned char num)
*函数功能:延时
*参数说明:num 延时时间 数值最大255
*返回说明:无
*其它说明:不精准延时
***********************************/
//void Delay(unsigned char num)
//{
// unsi
- 2023-04-27 18:20:04下载
- 积分:1
-
银行家算法模拟
操作系统课程设计,银行家算法是一个用来预防系统进入死锁状态的算法,用它可以判断系统的安全性,如果系统当前处于安全状态,则可以为申请资源的进程分配资源,如果不是安全状态,则不能为申请资源的进程分配资源。当系统在进行资源管理时,如果对进程申请的资源分配不当,可能会使系统进入死锁状态,因而后面到来的进程也无法顺利执行。
- 2022-02-06 02:23:15下载
- 积分:1
-
ErosionTabakoff
用于拓展fluent磨损模型的UDF,采用tabakoff经验公式描述磨损量。(a udf to optimize erosion model in Fluent)
- 2021-03-05 17:19:31下载
- 积分:1
-
NB-RQB
说明: NB-IOT智能燃气表用以实现燃气表的物联网功能(Nb-iot smart gas meter is used to realize the Internet of things function of gas meter)
- 2019-03-21 22:08:18下载
- 积分:1
-
数据访问的例子是用C写#
Data access Example is writting by C#
- 2023-06-09 06:05:03下载
- 积分:1
-
Test6
最短路径算法。
用无向带全图的邻接矩阵存储图,确定从源点出发到其它各点的最短路径。
输入:图中包含的顶点数n 边数m, 各边权值,用邻接矩阵或者邻接表存储。
输出:源点到其它各点的最短路径值。(Shortest path algorithm. Adjacency matrix storage with undirected graph with a full figure, determine the starting point of the shortest path from the source point of each other. Input: Vertices figure included n the number of edges m, the weight of each side, with the adjacency matrix or adjacency table storage. Output: source shortest path to value each other points.)
- 2014-05-11 17:05:37下载
- 积分:1
-
the_c_programming_language_2
The C programming Language, written by Brian W. Kernighan and Dennis M. Ritchie the fathers of C language.
- 2019-03-02 00:18:54下载
- 积分:1