89C52单片机18B20+1602显示程序问题答:0x0f,0x09,0x0f,0x09,0x0f,0x09,0x0b,0x11,//月 0x1f,0x11,0x11,0x1f,0x11,0x11,0x1f,0x00,//日 0x07,0x05,0x07,0x00,0x00,0x00,0x00,0x00,//符号 0x1f,0x15,0x1f,0x15,0x1f,0x1b,0x1f,0x11};//周 / 以下是对液晶模块的操作程序 / sbit RS=P0^5; //寄存...
51单片机设计数码管显示时钟的程序怎么写答:include<reg51.h>#define uchar unsigned charuchar code ledtab[]={0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f,0x40};//0-9unsigned char sec=0,min=0,hour=12,scanled;unsigned char key,flashbit,mode,time; unsigned char disdat[8];sbit led=P1^0;void delay(...
有关单片机的电子密码锁的参考文献 和资料 急啊 (参考文献最好有作者...答:; F E D C ; B 3 6 9 ; A 2 5 8 ; 0 1 4 7 TABLE_DIG:DB 0FH, 0BH, 0AH, 00H DB 0EH, 03H, 02H, 01H DB 0DH, 06H, 05H, 04H DB 0CH, 09H, 08H, 07H ;--- ; USE P1 ; R0 : BUF PT NO USE ; 未使用 ; R1 : COUNT 1 ; 循环计数1 ; ...