FPM10AL 指纹识别模块例程
//获得指纹模板数量
void FINGERPRINT_Cmd_Get_Templete_Num(void)
{ unsigned int i;
unsigned char temp[14];
for(i=0;i<6;i++) //包头
UART1_Send_Byte(FP_Pack_Head[i]);
//发送命令 0x1d
for(i=0;i<6;i++)
UART1_Send_Byte(FP_Templete_Num[i]);
}
//搜索全部用户999枚
void FINGERPRINT_Cmd_Search_Finger(void)
{
unsigned char i;
for(i=0;i<6;i++) //发送命令搜索指纹库
{
UART1_Send_Byte(FP_Pack_Head[i]);
}
for(i=0;i<11;i++)
{
UART1_Send_Byte(FP_Search[i]);
}
}
//搜索全部用户999枚
void FINGERPRINT_Cmd_Search_Finger_Admin(void)
{
unsigned char i;
for(i=0;i<6;i++) //发送命令搜索指纹库
{
UART1_Send_Byte(FP_Pack_Head[i]);