c51流水灯仿真与程序

apologize7264 11 0 rar 2023-01-15 20:01:11

对应程序:

#include

#define uint unsigned int

#define uchar unsigned char

uchar code tab[]={

0x81,

0x42,

0x24,

0x18,

};

void delay(uint z)

{

uint i,j;

for(i=z;i>0;i--)

for(j=120;j>0;j--);

}

void init()

{

P0=0x00;

}

c51流水灯仿真与程序

用户评论
请输入评论内容
评分:
暂无评论