全文预览

计算机题-微机控制技术

上传者:梦溪 |  格式:pdf  |  页数:11 |  大小:1181KB

文档介绍
5b,0x4f,0x66,\r0x6d,0x7d,0x07,0x7f,0x6f,0x00};\runsignedchardispbuf[8]={10,10,10,10,10,0,0,0};\runsignedchardispcount;\rsbitST=P3A0;\rsbitOE=P3A1;\rsbitEOC=P3A2;\r11\runsignedcharchannel=0xbc;//IN3unsignedchargetdata;EvaluationWarning:ThedocumentwascreatedwithSpire.PDFfor.NET.\rvoidmain(void)\rTMOD=0x01;\rTH0=(65536-4000)/256;TL0=(65536-4000)%256;TRO=1;\rETO=1;\rEA=1;\rP3=channel;\rwhile(l)\r(\rST=O;\rST=1;\rST=O;\rwhile(EOC==0);\rOE=1;\rgetdata=PO;\rOE=0;\rdispbuf[2]=getdata/100;getdata=getdata%10;\rdispbuf[l]=getdata/10;dispbuf[0]=getdata%10;}\r)\rvoidtO(void)interrupt1using0{\rTH0=(65536-4000)/256;TL0=(65536-4000)%256;\rPl=dispcode[dispbuf[dispcount]];P2=dispbitcode[dispcount];EvaluationWarning:ThedocumentwascreatedwithSpire.PDFfor.NET.\rdispcount++;\r12\rif(dispcount==8)\rdispcount=0;}

收藏

分享

举报
下载此文档