图形点阵式液晶显示器MSP-G320240在高速处
Lcd_wd=0x00;wait();?
Lcdwc=MWRITE;wait();
{for_Counter=Add1;Counter<Add2;Counter++)
{Lcd_wd=Data;wait();}?
Lcd_wc=CSRDIR_DW;wait();}
voidLcd_Init(void)/*初始化液晶子程序*/
{unsignedinti;Lcd_wc=SYSTEM_SET;wait();
for(i=0;i<8;i++)/*Systab[]=0x30,0x87,
0x07,0x27,0x42,0xf0,0x28,0*/
{Lcd_wd=Systab[i];wait();}Lcd_wc=
SCROLL;wait();
for(i=0;i<10;i++)/*Scrtab[]=0,0,
0xf0,0,0x40,0xf0,0,0x80,0,0x00*/
{Lcd_wd=Scrtab[i];wait();Lcd_wc=
HDOT_SCR;wait(0;
Lcd_wd=0x00;wait();Lcd_wc=OVLAY;
wait();Lcd_wd=0x08;wait();
Lcd_Clear(0,0x8000,0x00);/*清显示区子程序*/
Lcd_wc=DISP_ON;wait();Lcd_wd=
0x54;wait();/*0x54*/
Lcd_wc=CSRFORM;wait();Lcd_wd=0x07;
wait();
Lcd_wd=0x87;wait();
Lcd_wc=CSRDIR_DW;wait() 《图形点阵式液晶显示器MSP-G320240在高速处(第3页)》
本文链接地址:http://www.oyaya.net/fanwen/view/172820.html
Lcdwc=MWRITE;wait();
{for_Counter=Add1;Counter<Add2;Counter++)
{Lcd_wd=Data;wait();}?
Lcd_wc=CSRDIR_DW;wait();}
voidLcd_Init(void)/*初始化液晶子程序*/
{unsignedinti;Lcd_wc=SYSTEM_SET;wait();
for(i=0;i<8;i++)/*Systab[]=0x30,0x87,
0x07,0x27,0x42,0xf0,0x28,0*/
{Lcd_wd=Systab[i];wait();}Lcd_wc=
SCROLL;wait();
for(i=0;i<10;i++)/*Scrtab[]=0,0,
0xf0,0,0x40,0xf0,0,0x80,0,0x00*/
{Lcd_wd=Scrtab[i];wait();Lcd_wc=
HDOT_SCR;wait(0;
Lcd_wd=0x00;wait();Lcd_wc=OVLAY;
wait();Lcd_wd=0x08;wait();
Lcd_Clear(0,0x8000,0x00);/*清显示区子程序*/
Lcd_wc=DISP_ON;wait();Lcd_wd=
0x54;wait();/*0x54*/
Lcd_wc=CSRFORM;wait();Lcd_wd=0x07;
wait();
Lcd_wd=0x87;wait();
Lcd_wc=CSRDIR_DW;wait() 《图形点阵式液晶显示器MSP-G320240在高速处(第3页)》