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

📄 test.c

📁 微处理器学习板显示的模范设计的8位单板计算机。更多的周边和容易适应是一个专用控制器。
💻 C
字号:
#include <stdio.h>
#include <sbc51.h>

void main(void)
{
	InitLCD();					//Initializes the LCD Module.
	InitSerial();				//Initializes the serial port of 8051 in 9600,8n1.
  	while(1)
	{									
	LocateLCD(1,1);				// Sets the cursor position to Line 1,Pos 1.
	WriteLCD("Prof. Wichit Sirichote");		//writes string on LCD.
	printf("\n\t\tProf. Wichit Sirichote");	//Writes string on PC serial port. 
	ScrollLCD('r','f',1);					//Scrolls sting to right side,fast, 1 time.
	delay(1000);							//Produces the delay of 1000 msec.
	}
}	


⌨️ 快捷键说明

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