標(biāo)題: 求講解這段Arduino代碼 uint8_tASXX::storeFinger函數(shù) [打印本頁(yè)]
作者: awd1017 時(shí)間: 2018-11-27 15:42
標(biāo)題: 求講解這段Arduino代碼 uint8_tASXX::storeFinger函數(shù)
*/
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 時(shí)間: 2018-11-27 17:41
你這個(gè)程序不完整,沒(méi)法給你講解
歡迎光臨 (http://www.torrancerestoration.com/bbs/) |
Powered by Discuz! X3.1 |