main.c
来自「1702开发,提供底层程序原码,供开发M1卡专用」· C语言 代码 · 共 35 行
C
35 行
#include <reg52.h>
#include <absacc.h>
#include "FM1715.h"
#include "FM1715_fun.h"
#include "FM1715_reg.h"
void main()
{
uchar temp;
uchar test[16];
uchar test2[4]={0x00,0x00,0x00,0x05};
Red=!Red;
Init_FM1715(0);
temp = HL_Active(4, 0);
if(temp != FM1715_OK)
{
Red=!Red;
}
MIF_Increment(test2,4);
temp = HL_Active(2, 0);
if(temp != FM1715_OK)
{
Red=!Red;
}
MIF_Restore(4);
MIF_Increment(test2,4);
MIF_Transfer(2);
HL_Read(test,2,0);
while(1);
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?