#include #include #define uchar unsigned char#define uint unsigned int#define Dbus P0#define buffer1ID 0x01#define buffer2ID 0x02#define queren 0x88#define tuichu 0x84#define shanchu 0x82sbit B0=B^0;sbit B7=B^7;sbit jidianqi=P3^6;sbit RS=P2^2; sbit RW=P2^1;sbit E1=P2^0;sbit LEDK=P3^4; //控制背光sbit SCLK=P2^3;sbit IO=P2^5;sbit RST=P2^4;uchar code ta[8]={0x00,0x51,0x09,0x10,0x05,0x02,0x11,0xbe};uchar data a[7]; // 秒 分 时 日 月 星期 年 uchar dz[4]; //存键输入值uchar mima[7];uchar mimaID[6]={1,2,3,4,5,6};uchar data K;uchar data Key;uint PageID;uchar data querenma;uchar sum[2];int summaf,summas;uchar code nian[]={"年"};uchar code yue[]={"月"};uchar code ri[]={"日"};uchar code xinqi[]={"星期"};uchar code mao=0x3a;unsigned char code text1[]={" 请按指纹 "};unsigned char code text2[]={" 请再次按指纹 "};unsigned char code text3[]={" 指纹采集成功 "};unsigned char code text4[]={"请按任意键继续 "}; unsigned char code text5[]={" 指纹采集失败 "};unsigned char code text6[]={"输入删去的指纹号"};unsigned char code text7[]={" 删指纹号成功 "};unsigned char code text8[]={"按键一:增加指纹"};unsigned char code text9[]={"按键二:删去指纹"};unsigned char code text10[]={" 请重新按指纹 "};unsigned char code text11[]={"清空指纹库成功 "}; unsigned char code text12[]={" 没搜索到指纹 "}; unsigned char code text13[]={"请先按键再刷指纹"};unsigned char code text14[]={" 请重新操作 "}; unsigned char code text15[]={" 删去失败 "}; unsigned char code text16[]={" 接收包出错 "};unsigned char code text17[]={" 编号为: "};unsigned char code text18[]={"指纹已找到 请进"};unsigned char code text19[]={" 该指纹已存储 "};unsigned char code text20[]={" 请输入密码 "};unsigned char code text21[]={" 密码错误 "};unsigned char code text22[]={"按键三:更新密码"}; // @@@unsigned char code text23[]={"请再次输入密码 "}; uns...