微波EDA网,见证研发工程师的成长!
首页 > 硬件设计 > 嵌入式设计 > 51单片机-240128液晶程序与调试

51单片机-240128液晶程序与调试

时间:11-13 来源:互联网 点击:

00,0x00,0x00,0x00,0x00,0x10,

0x3F,0xFF,0x80,0x20,0x00,0x0B,0xF0,0x00,0x00,0x00,0x00,0x05,0xFF,0xF7,0x0F,0xD8,

0x00,0x00,0x00,0x00,0x1F,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0F,0x80,

0x00,0x00,0x00,0x03,0xF0,0x00,0x00,0x00,0x00,0x06,0x7F,0xC0,0x07,0xF8,0x00,0x00,

0x00,0x00,0x0F,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x6F,0x90,0x00,0x00,

0x00,0x03,0xF0,0x00,0x00,0x00,0x00,0x07,0x1F,0x00,0x0F,0xFC,0x00,0x00,0x00,0x00,

0x6F,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x6F,0xD8,0x00,0x00,0x00,0x03,

0xF2,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0xF0,0x00,0x00,0x00,0x00,0x6F,0x80,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x07,0xC0,0x00,0x00,0x00,0x03,0xF0,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x03,0xF8,0x00,0x00,0x00,0x00,0x2F,0x80,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x07,0xC0,0x00,0x00,0x00,0x03,0xFA,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x01,0xF8,0x00,0x00,0x00,0x00,0x2F,0x80,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x07,0xE0,0x00,0x00,0x00,0x05,0xFA,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x01,0xFC,0x00,0x00,0x00,0x00,0x07,0xD8,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x07,0xE0,0x00,0x00,0x00,0x05,0xFA,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x02,0xFC,0x00,0x00,0x00,0x00,0x07,0xD8,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x03,0xF0,0x00,0x00,0x00,0x05,0xFB,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0xFC,

0x00,0x00,0x00,0x00,0x07,0xD0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0xF0,

0x00,0x00,0x00,0x01,0xFB,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x7E,0x00,0x00,

0x00,0x00,0x07,0xD8,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0B,0xF0,0x00,0x00,

0x00,0x01,0xFE,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x3E,0x80,0x00,0x00,0x00,

0x07,0xC8,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0xFB,0x00,0x00,0x00,0x01,

0xFD,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x3F,0x00,0x00,0x00,0x00,0x07,0xE0,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0xF9,0x00,0x00,0x00,0x01,0xFE,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x3F,0x00,0x00,0x00,0x00,0x07,0xB0,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x05,0xF8,0x00,0x00,0x00,0x00,0xFF,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x1F,0x00,0x00,0x00,0x00,0x08,0x38,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x0D,0xFD,0x00,0x00,0x00,0x00,0xFE,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x1F,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x04,0xFD,0x00,0x00,0x00,0x00,0xFF,0x80,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x1F,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x04,0xFF,0x00,0x00,0x00,0x00,0xFF,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0F,

0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0E,0xFE,

0x00,0x00,0x00,0x00,0xFE,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0F,0x80,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x06,0xFE,0x00,0x00,

0x00,0x00,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0F,0x80,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x2F,0x80,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00

};

//=============================================

void lcd_regwrite(uchar regname,uchar regdata) small

{

lcd_regwr(regname);

delay(1);

lcd_regwr(regdata);

}

void lcd_regwr(uchar regnada) small

{

lcd_regnada = regnada;

lcd_cs1 =0;

lcd_rd = 1;

lcd_rs = 0;

lcd_wr = 0;

;

lcd_wr = 1;

lcd_rs = 1;

lcd_cs1 =1;

}

//---------------------------------------------

void lcd_datawrite(uchar wrdata) small

{

while(lcd_busy == 1);

lcd_data = wrdata;

lcd_cs1 =0;

lcd_rd = 1;

lcd_rs = 1;

lcd_wr = 0;

;

lcd_wr = 1;

lcd_rs = 1;

lcd_cs1 =1;

}

//----------------------

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top