#includereg52.h>#includeintrins.h>#defineucharunsignedchar#defineuintunsignedintsbitlcdrs=P2^6
#includereg52.h>#includeintrins.h>#defineucharunsignedchar#defineuintunsignedintucharcodetable
#includeINTRINS.H>#include..\config\c8051f350.h#include..\config\const.h#include..\driver\system.
#includereg52.h>#includeintrins.h>sbitK2=P3^2;sbitK3=P3^3;voiddelayms(unsignedintm);unsignedch
电路图:代码如下:#includereg51.h>#includeintrins.h>sbitp1_0=P1^0;sbitp1_1=P1^1;voiddelay(void){inta=..
电路图:代码如下:#includereg51.h>#includeINTRINS.H>sbitRS=0xA0;sbitRW=0xA1;sbitE=0xA2;voidlcd_w_cmd(un
#includeAT89X51.H>#includeintrins.h>sbitTSOR=P2^0;#defineBusy0x80;#defineucharunsignedchar#def