includereg51h>includedish>**延时1**用于消抖voiddelay1(void){uchari;for(i=0;i200;i++);}****延时2*******
{Uchari;for(i=0;i16;i++){DispOneChar(i,1,dd++);dd=0x7f;if(dd32)dd=32;}}//显示光标定位voidLocateXY(char…
#includereg51.h>#defineuintunsignedint#defineucharunsignedcharvoiddelay(uintz){uchari;while(z–)f
includeiom16vh>includemacrosh>defineucharunsignedchardefineuintunsignedintvoiddelay(){uchari;f
在线咨询:
邮箱: kf@86ic.com