51单片机-240128液晶程序与调试
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;
}
//----------------------
51单片机240128液 相关文章:
- Windows CE 进程、线程和内存管理(11-09)
- RedHatLinux新手入门教程(5)(11-12)
- uClinux介绍(11-09)
- openwebmailV1.60安装教学(11-12)
- Linux嵌入式系统开发平台选型探讨(11-09)
- Windows CE 进程、线程和内存管理(二)(11-09)