#includeat892051.h>#includeintrins.h>#defineucharunsignedcharsbitrs=P3^0;//LCD1602控制脚sbitrw=P3
#includereg52.h>#includeintrins.h>#defineucharunsignedcharuchari,a;ucharcodetable[]={0xC0,0xF9
#includereg51.h>#includeintrins.h>#includemath.h>#includestring.h>structPID{unsignedintS
#includereg52.h>#includeintrins.h>#defineucharunsignedcharucharnum=0;init();main()//用定时的方式控制流水
keilc编译51#defineucharunsignedchar#defineuintunsignedint#includereg51.h#includeintrins.hsbitScl=P3^3;
#includestdio.h>#includereg52.h>#includestdlib.h>#includeintrins.h>#includestring.h>/
#includereg52.h#includestdio.h>#includeintrins.h//===============================================
#includereg52.h>#includeintrins.h>#defineAddWr0xae//WriteAddress#defineAddRd0xaf//ReadAddress/