標題: 求講解這段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://m.raoushi.com/bbs/) |
Powered by Discuz! X3.1 |