#includesbit RS=P2^0;sbit RW=P2^1;sbit EN=P2^2;sbit CS1=P2^3;sbit CS2=P2^4;sbit RST=P2^5;#define databus P0#define uchar unsigned char#define startline 0xc0#define displayon 0x3f#define startcolumn 0x
/*KS0108 128*64 LCD C语言驱动 参考ICCAVR资料和网上的资料改写 LCD引脚定义 1---GND 2---VCC 3---VLCD 4---D/I 5---R/W 6---E 7到14 D0-D7 15--CS1 16--CS2 17--RESET 18--VEE 19--SW 20--NC */