-
打开灯光
//闪烁灯光
unsigned char Turn_Flash_Light[23]={0xF1,0x1F,0xE2,0x2E,0xB6,0x6B,0xA8,0x8A,0x00,0x0C,0x81,0x00,0x00,0x00,0x00,0x02,0x0f,0x04,0x01,0x14,0x14,0x05,0xBD};
F1 1F E2 2E B6 6B A8 8A 00 0C 81 00 00 00 00 02 0f 04 01 14 14 05 BD
-
是否有手指按压
//查询手指在位状态
unsigned char Query_Finger_State[18]={0xF1,0x1F,0xE2,0x2E,0xB6,0x6B,0xA8,0x8A,0x00,0x07,0x86,0x00,0x00,0x00,0x00,0x01,0x35,0xCA};
F1 1F E2 2E B6 6B A8 8A 00 07 86 00 00 00 00 01 35 CA
对应串口中断处理代码
if(USART3_RX_BUF[15]==0x01&&USART3_RX_BUF[16]==0x35) //查询手指状态
{
if(USART3_RX_BUF[21] == 0x01)
{
Success_Flag = 1;
}
else
{
Success_Flag = 0;
}
-
指纹匹配
//指纹匹配
unsigned char Finger_Match[18]={0xF1,0x1F,0xE2,0x2E,0xB6,0x6B,0xA8,0x8A,0x00,0x07,0x86,0x00,0x00,0x00,0x00,0x01,0x21,0xDE};
F1 1F E2 2E B6 6B A8 8A 00 07 86 00 00 00 00 01 21 DE
文章来源:https://www.toymoban.com/news/detail-707866.html
-
查询匹配结果
//查询匹配结果
unsigned char Query_Finger_Match_Result[18]={0xF1,0x1F,0xE2,0x2E,0xB6,0x6B,0xA8,0x8A,0x00,0x07,0x86,0x00,0x00,0x00,0x00,0x01,0x22,0xDD};
F1 1F E2 2E B6 6B A8 8A 00 07 86 00 00 00 00 01 22 DD
文章来源地址https://www.toymoban.com/news/detail-707866.html
到了这里,关于STM32驱动海凌科FPM383C指纹模块的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!