⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 uart.c

📁 入门试验代码
💻 C
字号:

//***************************************************************************
#include "inc\44b.h"
#include "inc\option.h"
#include "inc\44blib.h"

#include <stdarg.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <ctype.h>


void Main(void)
{
	char str[6]="china";
	ChangePllValue(0,6,1);
	Port_Init();
	Uart_Init(0,9600);
	while(1)
	{
		Uart_SendByte(0x65);
		Uart_Printf(str);
		Uart_Printf("my");
		Uart_Printf("\r");
	};
	
	//Port_Init();
	//Uart_Init(0,115200);
	//Uart_Select(0);

	//Uart_Printf("Main() called\r\n");
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -