mainlcd.c

来自「精锐通12864E17的驱动程序」· C语言 代码 · 共 47 行

C
47
字号
#include <sp6608.h>
#include <Lcd_C.h>

int main()


{

	int i,j,temp=0;
	char tempChar;
	//	tempChar = 0x4567;
//	tempChar = tempChar >> 8;
//	j = sizeof(tempChar);

	Lcd_Init();
	BackLight_On();
//	Lcd_Reset();
	Lcd_DiaplayOn();
	Lcd_Fill(1);
	Lcd_A_DelayBusTime();
	Lcd_Fill(0);
//	Lcd_OutD(0xff);
	Lcd_OutputHZ();
//Lcd_GuiYin();
	

while(1)
	{
	/*	Lcd_WaitCmd();
		Lcd_OutI(0x81);		
		Lcd_WaitCmd();
		Lcd_OutI(0x1a);	
		Lcd_WaitCmd();
		Lcd_OutI(0x81);		
		Lcd_WaitCmd();
		Lcd_OutI(0x23);	
		Lcd_WaitCmd();
		Lcd_OutI(0x81);		
		Lcd_WaitCmd();
		Lcd_OutI(0x30);	
		Lcd_WaitCmd();
		Lcd_OutI(0x81);		
		Lcd_WaitCmd();
		Lcd_OutI(0x3f);	
		Lcd_WaitCmd();*/
	}
}

⌨️ 快捷键说明

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