#include  "config.h" //組態及暫存器定義
#include <stdio.h>//系統標準IO函數 
int main(void)
{
  SystemInit();   //系統初始化
  UART_Init(115200);//初始化UART,並將苞特律設定為:115200
  while(1)
  {
     printf("Hello~!!\n\r"); //發射字串函數
     Delay_ms(1000); // 延遲一秒
  }
arrow
arrow
    全站熱搜

    黃彥霖 發表在 痞客邦 留言(0) 人氣()