【文件属性】:
文件名称:lcd12864 单片机
文件大小:13KB
文件格式:C
更新时间:2016-10-23 03:49:02
lcd12864
#include
#define uchar unsigned char
#define uint unsigned int
#define Lcd_Bus P0
sbit RS = P1^7;
sbit RW = P1^6;
sbit E = P1^5;
sbit PSB= P1^4;
sbit RST= P1^2;
sbit P1_1=P1^1;
sbit P2_0=P2^0;
sbit P2_1=P2^1;
sbit P2_2=P2^2;
sbit P2_5=P2^5;
void chk_busy();
void delay(unsigned int t);
void write_com(unsigned char cmdcode);
void write_data(unsigned char Dispdata);
void lcdreset();
void hzkdis(unsigned char code *s);
void First_1();
void First_2();
void First_3();