main.c
来自「基于arm的uart程序」· C语言 代码 · 共 20 行
C
20 行
#include "def.h"
#include "2410lib.h"
#include "bspinit.h"
void Main(void)
{
char c1;
Bsp_Init();
while(1)
{
Uart_Printf("\n Input a char");
Uart_SendByte(0xa);
Uart_SendByte(0xd);
c1=Uart_Getch();
Uart_SendByte(c1);
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?