MzLH0312864液晶显示程序及资料/*液晶驱动程序Beta1.2*/#include#include/*参数定义*/#defineBEIGUANG60//设置背光灯亮度sbitSPI_RES=P2^0;//定义RESET接P2.0端口sbitSPI_CS=P2^1;//定义CS接在P2.1端口sbitSPI_BUSY=P2^2;//定义BUSY接P2.2端口sbitSPI_SDA=P2^3;//定义SDA接在P2.3端口sbitSPI_SCK=P2^4;//定义SCK接在P2.4端口.......