在程序中添加:(头文件需要添加#includestdio.h>)#ifdef__GNUC__#definePUTCHAR_PROTOTYPEint__io_putchar(intch)#else
.在程序中添加:(头文件需要添加#includestdio.h>)#ifdef__GNUC__#definePUTCHAR_PROTOTYPEint__io_putchar(intch)#els
#includestdio.h>#includereg52.h>#includestdlib.h>#includeintrins.h>#includestring.h>/
#includestdio.h>#includesja1000.hunsignedintT_flag0=0;unsignedintT_flag1=0;//unsignedchardata[11]
proteus中1602液晶是LM016L#includeiom16v.h>#includemacros.h>#includestdio.h>#defineucharunsigned
#includereg52.h#includestdio.h>#includeintrins.h//===============================================
#includereg51.h>#includestdio.h>#defineucharunsignedchar#defineuintunsignedint//sbitBEEP=P1;//
#includereg51.h>#includestdio.h>#defineucharunsignedcharsbitDIN=P2^0;sbitCLK=P2^1;sbitLOAD=P2^