标题: 求讲解这段Arduino代码 uint8_tASXX::storeFinger函数 [打印本页]
作者: awd1017 时间: 2018-11-27 15:42
标题: 求讲解这段Arduino代码 uint8_tASXX::storeFinger函数
*/
uint8_tASXX::storeFinger(uint8_t bufferId, uint16_t pageId)
{
uint8_t content[] = {0x01,0x00,0x06,0x06,0x00,0x00,0x00 };
content[4] = bufferId;
content[5] = (uint8_t)(pageId >> 8);
content[6] = (uint8_t)pageId;
sendCmd(6, content);
uint8_t r = getReply(content);
if (r == 1)
return content[0];
return r;
}
/*
作者: angmall 时间: 2018-11-27 17:41
你这个程序不完整,没法给你讲解
欢迎光临 (http://www.51hei.com/bbs/) |
Powered by Discuz! X3.1 |