- 11
- 0
- 约1.84千字
- 约 3页
- 2017-03-23 发布于重庆
- 举报
lcd静态显示电路图及c语言程序
Lcd静态显示电路图及c语言程序
#includeat89x51.h
#define uint unsigned int
#define uchar unsigned char
sbit RS=P2^0;
sbit RW=P2^1;
sbit EN=P2^2;
uchar i,j;
uchar code table1[]={
0x00,0x00,0x00,0x00,0x00,0x1f,0x00,0x00,
0x00,0x00,0x00,0x0e,0x00,0x1f,0x00,0x00,
0x00,0x0e,0x00,0x0e,0x00,0x1f,0x00,0x00,
0x08,0x1f,0x12,0x0f,0x0a,0x1f,0x02,0x00,
0x0f,0x09,0x0f,0x09,0x0f,0x09,0x13,0x00,
0x1f,0x11,0x11,0x1f,0x11,0x11,0x1f,0x00,
0x1f,0x04,0x04,0x04,0x04,0x04,0x1f,0x00,
0x04,0x04,0x1f,0x15,0x1f,0x04,0x04,0x00,
};
uchar code table2[]= QQ:1093027367;
uchar code tab[]={0x00,0x01,0x02,0x03,0x04,0
原创力文档

文档评论(0)