e-1330点阵液晶屏驱动程序//e-1330点阵液晶屏驱动程序/*线路图 89c51 e-1330-------- | 8p1.0-1.7|=========== d0-7 | p3.0|----------- a0 p3.1|----------- r/w p3.2|----------- e | -- /cs | | | --- | 反相器 reset |----|>。--- /res--------*/#include <reg51.h>sbit p_a0=p3^0;sbit p_rw=p3^1;sbit p_e=p3^2;//指令写入函数void ctrl(unsigned char c) { p_a0=1; //a0为1代表写入指令 p_rw=0; p_e=1;p1=c;p_e=0;}//数据和指令参数写入函数void write(un