?? main.c
字號:
#include "option.h"
#include "def.h"
#include "44b.h"
#include "44blib.h"
void Main(void)
{
U8 aa;
rSYSCFG=SYSCFG_8KB;
#if (PLLON==1)
ChangePllValue(PLL_M,PLL_P,PLL_S);
#endif
Port_Init();
Uart_Init(0,115200);
Uart_Select(0);
Uart_Printf("\n* 杭州萊頓電子 *");
Uart_Printf("\n* -S3C44B0X功能部件:hello world實(shí)驗(yàn)測試- *");
Uart_Printf("\n* Version 1.1 *");
Uart_Printf("\n* Email:aedkhz@163.com *");
Uart_Printf("\n* UART Config--COM:115.2kbps,8Bit,NP,UART0 *");
Uart_Printf("\n*------------------Begin to Start串口 實(shí)驗(yàn)測試,OK? (Y/N)----------------*");
Uart_Printf("\n");
aa= Uart_Getch();
if((aa=='Y')||(aa=='y'))
while(1)
{
Uart_Printf("\nHello,world!");
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -