代码搜索:de1
找到约 59 项符合「de1」的源代码
代码结果 59
www.eeworm.com/read/295163/8182395
h define.h
#define TD PORTB.0
#define DE1 PORTC.2
#define RE1 PORTC.4
#define T PORTD.5
www.eeworm.com/read/147517/12549338
h define.h
#define TD PORTB.0
#define DE1 PORTC.2
#define RE1 PORTC.4
#define T PORTD.5
www.eeworm.com/read/300612/13903057
cpp d.cpp
#include
#include
#include
#include
#define NUM 40
using namespace std;
struct data
{
string dip1;
string dip2;
};
struct degree
{ string s;
int t;
www.eeworm.com/read/287547/8682952
asm jtd.asm
;***********************************;
;* 十字路口红绿灯模拟演示程序 *;
;* 端口各灯的设置: *;
;* 1红 1黄 1绿 0 0 2红 2黄 2绿 *;
;***********************************;
data segment
ioport equ 0d400
www.eeworm.com/read/155847/11843884
asm 8255.asm
;***********************************;
;* 十字路口红绿灯模拟演示程序 *;
;* 端口各灯的设置: *;
;* 1红 1黄 1绿 0 0 2红 2黄 2绿 *;
;***********************************;
data segment
ioport e
www.eeworm.com/read/147240/12572338
asm exp2.asm
;***********************************;
;* 十字路口红绿灯模拟演示程序 *;
;* 端口各灯的设置: *;
;* 1红 1黄 1绿 0 0 2红 2黄 2绿 *;
;***********************************;
data segment
ioport e
www.eeworm.com/read/365411/9864237
m dflc.m
function [] = dflc( )
clear
%隶属度函数
MF=[0 0 0 0.4 1;0 0.2 1 0.2 0;1 0.4 0 0 0];
%规则表
LAW=[1 1 2;1 2 3;2 3 3];
%初始化
e1(1)=0;
de1(1)=0;
u=30;
y1(2)=0;
for clk=1:200
y(clk)=y1(clk+1);
time(clk)=cl
www.eeworm.com/read/271298/11001076
txt code2.txt
8255交通灯 试验《黄海萍版》微机实验
2007年08月02日 星期四 17:46
DATA SEGMENT
BUF DB 81H,81H,81H,81H
DB 41H,01H,41H,01H,41H,01H,41H,01H,41H
DB 24H
www.eeworm.com/read/463351/7182873
txt jtd.txt
既然你修改问题说要用来控制交通灯,那我就给你一段程序,是用来控制交通灯的,一般交通灯都是有数码管来倒计时,但是你说用PB低4位和PC口来控制交通灯,所以相比没有需要有数码管,如果你还需要用到七段数码管,就说明一下,我有空就重新给你另外一段程序
程序如下
;***********************************;
;* 十字路口红绿灯 *;
;* 端口各灯的设置: ...
www.eeworm.com/read/140717/13065014
m dflc.m
function [] = dflc( )
clear
%隶属度函数
MF=[0 0 0 0.4 1;0 0.2 1 0.2 0;1 0.4 0 0 0];
%规则表
LAW=[1 1 2;1 2 3;2 3 3];
%初始化
e1(1)=0;
de1(1)=0;
u=30;
y1(2)=0;
for clk=1:200
y(clk)=y1(clk+1);
time(clk)=cl