液晶程序仿真图.docx

液晶程序仿真图.docx

ID:54945704

大小:82.53 KB

页数:13页

时间:2020-04-24

液晶程序仿真图.docx_第1页
液晶程序仿真图.docx_第2页
液晶程序仿真图.docx_第3页
液晶程序仿真图.docx_第4页
液晶程序仿真图.docx_第5页
资源描述:

《液晶程序仿真图.docx》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库

1、/**********************************************************12864是由两块64*64的液晶屏组成的。当中页是通过自己去定义的。**********************************************************/#include"reg51.h"#defineucharunsignedchar#defineuintunsignedintsbitlcdrst=P3^0;sbitcs2=P3^5;sbitcs1=P3^4;sbite=P3^2;sbitrw=P3^

2、3;sbitrs=P3^1;/************************************************代码:字模生成可以在取模软件生成。方法是阴码列行式逆向************************************************/ucharcodeqin[]={0x04,0x04,0xC4,0x5F,0x54,0xF4,0x54,0x5F,0xC4,0x14,0x10,0xFF,0x10,0x10,0xF0,0x00,0x00,0x80,0x95,0x95,0x95,0x7F,0x55,0x55,0x95

3、,0x60,0x1C,0x03,0x20,0x60,0x3F,0x00};//勤ucharcodemian[]={0x00,0xF0,0x2C,0x27,0xE4,0x34,0x2C,0xE4,0x08,0x08,0xFF,0x08,0x08,0xF8,0x00,0x00,0x40,0x21,0x11,0x0F,0x01,0x3F,0x41,0x49,0x44,0x43,0x40,0x44,0x48,0x47,0x70,0x00};//勉ucharcodeli[]={0x44,0x44,0xFC,0x44,0x44,0x00,0xFE,0x92,0x9

4、2,0xFE,0x92,0x92,0x92,0xFE,0x00,0x00,0x10,0x10,0x0F,0x08,0x48,0x40,0x45,0x44,0x44,0x7F,0x44,0x44,0x44,0x45,0x40,0x00};//理ucharcodegong[]={0x00,0x00,0x02,0x02,0x02,0x02,0x02,0xFE,0x02,0x02,0x02,0x02,0x02,0x02,0x00,0x00,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x3F,0x20,0x20,0x20,0x20,0

5、x20,0x20,0x20,0x00};//工ucharcodexue[]={0x40,0x30,0x10,0x12,0x5C,0x54,0x50,0x51,0x5E,0xD4,0x50,0x18,0x57,0x32,0x10,0x00,0x00,0x02,0x02,0x02,0x02,0x02,0x42,0x82,0x7F,0x02,0x02,0x02,0x02,0x02,0x02,0x00};//学ucharcodeyuan[]={0xFE,0x02,0x32,0x4A,0x86,0x0C,0x24,0x24,0x25,0x26,0x24,0x24

6、,0x24,0x0C,0x04,0x00,0xFF,0x00,0x02,0x04,0x83,0x41,0x31,0x0F,0x01,0x01,0x7F,0x81,0x81,0x81,0xF1,0x00};//院ucharcodedian[]={0x00,0x00,0xF8,0x48,0x48,0x48,0x48,0xFF,0x48,0x48,0x48,0x48,0xF8,0x00,0x00,0x00,0x00,0x00,0x0F,0x04,0x04,0x04,0x04,0x3F,0x44,0x44,0x44,0x44,0x4F,0x40,0x70,0x

7、00};//电ucharcodezi[]={0x00,0x00,0x02,0x02,0x02,0x02,0x02,0xE2,0x12,0x0A,0x06,0x02,0x00,0x80,0x00,0x00,0x01,0x01,0x01,0x01,0x01,0x41,0x81,0x7F,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x00};//子ucharcodecheng[]={0x10,0x12,0xD2,0xFE,0x91,0x11,0x80,0xBF,0xA1,0xA1,0xA1,0xA1,0xBF,0x80,0x00,

8、0x00,0x04,0x03,0x00,0xFF,0x00,0x41,0x44,0x44,0x

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。