direct.c
来自「mifarea卡程序mifarea卡程序mifarea卡程序」· C语言 代码 · 共 29 行
C
29 行
/****************************************
* direct.c *
* Designe by 刘俐训 *
* direct connect with cards *
* create: 05-26-2007 *
* update: 05-26-2007 *
****************************************/
#include "..\inc\includes.h"
void direct(unsigned int timeout)
{
unsigned int starttime;
unsigned char target = MCU;
starttime = GetTickCount();
while(GetTickCount() - starttime <= timeout)
{
// check card slot
// check rf card
// check host command
// check card command
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?