#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語(yǔ)言驅(qū)動(dòng) 參考ICCAVR資料和網(wǎng)上的資料改寫(xiě) 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 */