unsigned char finger_match[18] = {0xF1,0x1F,0xE2,0x2E,0xB6,0x6B,0xA8,0x8A,0x00,0x07,0x86,0x00,0x00,0x00,0x00,0x01,0x23,0xDC};
void fingers_match()
{
Serial_SendArray(finger_match,17);
}
下面是主函数:
while(1)
{
fingers_match();
while(rx_buffer[22]!=0x01)
{
fingers_match();
delay_ms(1);
}
finger_red_on();
}
为什么一直不行呢