51单片机数码管滚动显示答:define uchar unsigned char define uint unsigned int uchar code SEG_B_List[11]={0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x80,0x90,0xff};//共阳数码管代码表"0-9","空"define StuNumLeng 14 //学号长度,加了2个空格 uchar StuNum[StuNumLeng]={10,2,0,1,0,1,1,0,...
51单片机,8位共阴极数码管动态显示12位学号,按键调整走动速度,C语言的...答:unsigned char code SEG7[] = { 0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x80,0x90, 0xff};unsigned char DISP_BUFF[] = { 10, 10, 10, 10, 10, 10, 10, 10,1, 3, 9, 2, 5, 8, 0, 7, 4, 6, 3, 2,10, 10, 10, 10, 10, 10, 10, 10};unsigned char ...
51单片机数码管显示学号答://学号 u8 code Student_Id[18] = { NULL,NULL,NULL,NULL,//不显示 0,8,0,0,2,4,0,1,0,9, //学号 NULL,NULL,NULL,NULL//不显示 };u8 Dispbuf[4];//显示缓冲区 u8 flag = 0;//毫秒延时函数 void Delay_Nms( u16 N ){ u16 i,j;for( i=0; i<N; i++ )for( j=...
单片机数码管动态显示学号80410001,用keil 最好有过程,有连接图...答:include<reg51.h> define uchar unsigned char uchar temp;int key1,key,disbuf;// 此表为 LED 的字模 0 1 2 3 4 5 6 7 8 9 a b c d e f unsigned char code LED7Code[] = {0x3F,0x06,0x5B,0x4F,0x66,0x6D,0x7D,0x07,0x7F,0x6F,0x77,0x7C,0x39,0x5E,0x79,0x71};...