内容简介:单片机流水灯C语言程序的源代码如下:include //51系列单片机定义文件。define uchar unsigned char //定义无符号字符。define uint unsigned int //定义无符号整数。void delay(uint); //声明延时函数。硬件特征 1、单片机 P3=0xfe;//第一个灯亮 delay();//延时 P3=0xfd;//第二个灯亮...
用户评论
havenhome