📄 main.c
字号:
#include <stdio.h>
#include <string.h>
#include "inc\44b.h"
#include "inc\common.h"
//#include "inc\platform.h"
extern int Image$$RO$$Limit;
extern int Image$$RW$$Base;
int Main(void)
{
uint start_key;
Board_Init();
while(1)
{
Uart_Printf("\n掌宇公司KH91001实验台初始化成功!\n");
Uart_Printf("\n现在进行A/D测试实验!\n");
Uart_Printf("\n请按Y键开始测试,按其它键停止!\n");
start_key= Uart_Getch(0);
if((start_key=='Y')||(start_key=='y'))
{
Uart_Printf("\n Begin TEST adc!\n");
Test_Adc(); //A/D测试主程序
}
else
Uart_Printf("\n Not TEST\n");
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -