51单片机的电子密码锁程序,用KEIL C写的答:include<reg52.h> include <def.h> include"lcd.c"uchar key;uchar num;sbit alarm=P2^4;sbit open=P2^1;uchar code table[]={' ','1','2','3','4','5','6','7','8','9','0'};void keyscan();uchar hptable[10];uchar password[6];uchar wordbuf[6];uchar fom[]="...