#defineLCD_DATA(*((volatileUint16*)0x2001))#defineENGpioDataRegs.GPFDAT.bit.GPIOF2#defineRWGpioDataRegs.GPFDAT.bit.GPIOF1#defineRSGpioDataRegs.GPFDAT.bit.GPIOF0#defineLOW0#defineHIGH1#defineCLEAR_SCREEN0x01//清屏指令:清屏且AC值为00H#defineAC_INIT0x02//将AC设置为00H。且游标移到原点位置#defineCURSE_ADD0x06