⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 security.c

📁 mcu for gm5621带遥控,键盘输入的单片机代码.供学习参考使用.谢谢.
💻 C
字号:
#include "board.h"
#include "global.h"
#include "gm_rwreg.h"
#include "Debug.h"
#include "security.h"
#include "securityDef.h"


void SecurityHandler(void)
{
	if (DoProtectionHandlerFlag)
	{
		if (Pwd_Key_Count<5)
		{
			gm_sendByte(pwd[Pwd_Key_Count]);
			Pwd_Key_Count++;
			//printData("the Pwd_Key_Count is %d", Pwd_Key_Count);
		}
		else
		{
			Pwd_Key_Count = 0;
			Clr_DoProtectionHandlerFlag();
		}
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -