代码搜索结果

找到约 10,000 项符合 Control 的代码

control.m

function y=control(n) a=20; if n==0 y=a+1; elseif n==1 y=a*(1+n); elseif n==2 y=a+n; else y=a; end

control.m

function y=control(n) a=20; if n==0 y=a+1; elseif n==1 y=a*(1+n); elseif n==2 y=a+n; else y=a; end

control.v

module control(std_f_sel,reset,clk,clear,cntover,cntlow); output[1:0] std_f_sel; output reset; input clk,clear,cntover,cntlow; reg[1:0] std_f_sel; reg reset; reg[5:0] present,next; parameter st

control.cod

TITLE C:\Documents and Settings\Administrator\桌面\07412 4 LIFT\control.c .386P include listing.inc if @Version gt 510 .model FLAT else _TEXT SEGMENT PARA USE32 PUBLIC 'CODE' _TEXT ENDS _DATA

control.h

//control.h #ifndef CONTROL_H #define CONTROL_H HEGG hEggs[100]; extern int State; extern int CurrentDirection;/*当前运行方向:1.向上,2.向下。*/ extern int StatusFloor;/*当前楼层1-9*/ extern int GoalFloor;

control.c

#include #include #include #include"egg.h" #include"data.h" #include"control.h" #include"lift.h" #include"OutputFlash.h" State=0;/*设置电梯初始状态,空闲*/ Time=0;/*设置初始时