📄 main.c
字号:
#include "def.h"#include "option.h"#include "2440addr.h"#include "2440lib.h" void Main(void){ char str[50]; ChangeMPllValue(110,3,1); Uart_Init(PCLK, 115200); Uart_Init(); //uart1, 115200,8 in 1, to be completed in uart.c Uart_Printf("\n\rEx02. Test Uart receive \n\r"); Delay(10000); while(1) { Uart_Printf("Please input your str!\n\n"); Uart_GetString(str); Uart_Printf("\n*****Your input_str!*****\n"); Uart_Printf(str); Led_Display(1); Delay(10000000); Led_Display(2); Delay(10000000); } // end of while(...)} // end of main(...)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -