Proteus:单片机动态数码管显示“HELLO”模拟
题目概述:单片机数码管显示“HELLO”。编程:#include <reg51.h>#define uchar unsigned char#define uint unsigned intuchar str[5]={0x76,0x79,0x38,0x38,0x3F};//HELLO十六进制表示uchar wei[5]={0x01,0x02,0x04,0x08,0x10};//数码管的位数void delay(uint xms){uint i,j;for(i=0;i&a