📄 main.c
字号:
#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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -