1602汉字显示,如有需要可以下载#include#defineucharunsignedchar#defineuintunsignedintsbitlcdrs=P1^0;sbitlcden=P1^2;sbitlcdwr=P1^1;ucharCGCODE[]={0x08,0x0F,0x12,0x0F,0x0A,0x1F,0x02,0x02,//"年"代码0x000x0F,0x09,0x0F,0x09,0x0F,0x09,0x13,0x00,//"月"代码0x010x0F,0x09,0x09,0x0F,0x09,0x09,0x0F,0x0