串口打印信息

#include "..\inc\config.h"
void Main(void)
{	
	Target_Init();                              //目标板初始化,在target.c中定义
    Delay(10);
                                                    //串口0输出
    Uart_Printf(0,"***********************\n");
    Uart_Printf(0,"欢迎使用ADS开发环境\n");
    Uart_Printf(0,"***********************\n");
    Uart_Printf(0,"\n");
    while(1)
    {
    	Uart_Printf(0,"Hello world!\n");
    }
    while(1);	
}

   说来惭愧,完了这么久的ARM还是玩串口,

posted @ 2011-12-19 20:21  [无名]  阅读(573)  评论(0编辑  收藏  举报