智能门禁系统详细设计概要
本科生科技创新活动设计
#include "bsrsd.h"
#define HaveKey 1
#define NoKey 0
#define NAME_ID 0x100
#define RSP_AGAIN 1
#define RSP_NOVOICE 2
#define RSP_NAMEDIFF 3
#define RSP_CMDDIFF 4
#define RSP_STAR 5
#define RSP_NOISY 6
//宏定义
#define HaveKey 1
#define NoKey 0
//..................全程变量....................
extern void ClearWatchDog();
int PlayFlag = 0;
unsigned int Key_Value;
unsigned int KeyDownTimes; //保存按键次数
//按键标识
/********************************************************************* ********************************/
//函数声明
void Clear_Password();
unsigned int F_Affirm_New_Password();
unsigned int F_Affirm_Password();
void Save_New_Pwd_To_Flash();
void LCD_SHOW(char Sentence[]);
void PlayRespond(int Result);
int TrainWord(int WordID, int RespondID);
//全局变量定义
1