⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 多路开关状态指示.mht

📁 一些C语言单片机程序
💻 MHT
📖 第 1 页 / 共 5 页
字号:
              <P class=3DMsoNormal style=3D"TEXT-ALIGN: center" =
align=3Dcenter><SPAN=20
              lang=3DEN-US>A<SUB>CC</SUB></SPAN><SPAN=20
              style=3D"FONT-FAMILY: =CB=CE=CC=E5; mso-ascii-font-family: =
'Times New Roman'; mso-hansi-font-family: 'Times New =
Roman'">=C4=DA=C8=DD=D3=D2=D2=C6</SPAN><SPAN=20
              lang=3DEN-US>4</SPAN><SPAN=20
              style=3D"FONT-FAMILY: =CB=CE=CC=E5; mso-ascii-font-family: =
'Times New Roman'; mso-hansi-font-family: 'Times New =
Roman'">=B4=CE</SPAN></P></DIV><![if =
!mso]></TD></TR></TBODY></TABLE><![endif]></V:TEXTBOX></V:SHAPE><V:ROUNDR=
ECT=20
        id=3D_x0000_s1034=20
        style=3D"LEFT: 4680px; WIDTH: 2520px; POSITION: absolute; TOP: =
8538px; HEIGHT: 467px"=20
        arcsize=3D"10923f" /><V:SHAPE id=3D_x0000_s1035=20
        style=3D"LEFT: 4860px; WIDTH: 2160px; POSITION: absolute; TOP: =
8537px; HEIGHT: 468px"=20
        stroked=3D"f" filled=3D"f" =
type=3D"#_x0000_t202"><V:TEXTBOX><![if !mso]>
        <TABLE cellSpacing=3D0 cellPadding=3D0 width=3D"100%">
          <TBODY>
          <TR>
            <TD><![endif]>
              <DIV>
              <P class=3DMsoNormal style=3D"TEXT-ALIGN: center" =
align=3Dcenter><SPAN=20
              lang=3DEN-US>A<SUB>CC</SUB></SPAN><SPAN=20
              style=3D"FONT-FAMILY: =CB=CE=CC=E5; mso-ascii-font-family: =
'Times New Roman'; mso-hansi-font-family: 'Times New =
Roman'">=C4=DA=C8=DD=D3=EB</SPAN><SPAN=20
              lang=3DEN-US>F0H</SPAN><SPAN=20
              style=3D"FONT-FAMILY: =CB=CE=CC=E5; mso-ascii-font-family: =
'Times New Roman'; mso-hansi-font-family: 'Times New =
Roman'">=CF=E0=BB=F2</SPAN></P></DIV><![if =
!mso]></TD></TR></TBODY></TABLE><![endif]></V:TEXTBOX></V:SHAPE><V:ROUNDR=
ECT=20
        id=3D_x0000_s1036=20
        style=3D"LEFT: 4680px; WIDTH: 2520px; POSITION: absolute; TOP: =
9318px; HEIGHT: 467px"=20
        arcsize=3D"10923f" /><V:SHAPE id=3D_x0000_s1037=20
        style=3D"LEFT: 4860px; WIDTH: 2160px; POSITION: absolute; TOP: =
9317px; HEIGHT: 468px"=20
        stroked=3D"f" filled=3D"f" =
type=3D"#_x0000_t202"><V:TEXTBOX><![if !mso]>
        <TABLE cellSpacing=3D0 cellPadding=3D0 width=3D"100%">
          <TBODY>
          <TR>
            <TD><![endif]>
              <DIV>
              <P class=3DMsoNormal style=3D"TEXT-ALIGN: center" =
align=3Dcenter><SPAN=20
              lang=3DEN-US>A<SUB>CC</SUB></SPAN><SPAN=20
              style=3D"FONT-FAMILY: =CB=CE=CC=E5; mso-ascii-font-family: =
'Times New Roman'; mso-hansi-font-family: 'Times New =
Roman'">=C4=DA=C8=DD=CB=CD=C8=EB</SPAN><SPAN=20
              lang=3DEN-US>P1</SPAN><SPAN=20
              style=3D"FONT-FAMILY: =CB=CE=CC=E5; mso-ascii-font-family: =
'Times New Roman'; mso-hansi-font-family: 'Times New =
Roman'">=BF=DA</SPAN></P></DIV><![if =
!mso]></TD></TR></TBODY></TABLE><![endif]></V:TEXTBOX></V:SHAPE><V:LINE=20
        id=3D_x0000_s1038 style=3D"POSITION: absolute" to=3D"5940,6978"=20
        from=3D"5940,6666"><V:STROKE endarrow=3D"block" =
/></V:LINE><V:LINE=20
        id=3D_x0000_s1039 style=3D"POSITION: absolute" to=3D"5940,7758"=20
        from=3D"5940,7446"><V:STROKE endarrow=3D"block" =
/></V:LINE><V:LINE=20
        id=3D_x0000_s1040 style=3D"POSITION: absolute" to=3D"5940,8538"=20
        from=3D"5940,8226"><V:STROKE endarrow=3D"block" =
/></V:LINE><V:LINE=20
        id=3D_x0000_s1041 style=3D"POSITION: absolute" to=3D"5940,9318"=20
        from=3D"5940,9006"><V:STROKE endarrow=3D"block" =
/></V:LINE><V:LINE=20
        id=3D_x0000_s1042 style=3D"POSITION: absolute" to=3D"5941,10098" =

        from=3D"5940,9786"><V:STROKE endarrow=3D"block" =
/></V:LINE><V:LINE=20
        id=3D_x0000_s1043 style=3D"POSITION: absolute" to=3D"8280,10098" =

        from=3D"5940,10098"><V:STROKE endarrow=3D"block" =
/></V:LINE><V:LINE=20
        id=3D_x0000_s1044 style=3D"POSITION: absolute; flip: y" =
to=3D"8280,10098"=20
        from=3D"8280,6822"><V:STROKE endarrow=3D"block" =
/></V:LINE><V:LINE=20
        id=3D_x0000_s1045 style=3D"POSITION: absolute; flip: x" =
to=3D"8280,6822"=20
        from=3D"5940,6822"><V:STROKE endarrow=3D"block" =
/></V:LINE><W:ANCHORLOCK=20
        /></V:GROUP><![endif]--><SPAN=20
        style=3D"MARGIN-TOP: 0px; MARGIN-LEFT: 0px; WIDTH: 552px; =
POSITION: absolute; HEIGHT: 291px; mso-ignore: vglayout"><IMG=20
        height=3D291 src=3D"http://www.8951.com/51test/cc403.26.gif" =
width=3D552=20
        v:shapes=3D"_x0000_s1026 _x0000_s1027 _x0000_s1028 _x0000_s1029 =
_x0000_s1030 _x0000_s1031 _x0000_s1032 _x0000_s1033 _x0000_s1034 =
_x0000_s1035 _x0000_s1036 _x0000_s1037 _x0000_s1038 _x0000_s1039 =
_x0000_s1040 _x0000_s1041 _x0000_s1042 _x0000_s1043 _x0000_s1044 =
_x0000_s1045"></SPAN><!--[if gte vml 1]><V:SHAPE=20
        id=3D_x0000_i1026 style=3D"WIDTH: 414pt; HEIGHT: 218.25pt"=20
        type=3D"#_x0000_t75"> <V:IMAGEDATA cropbottom=3D"65520f" =
croptop=3D"-65520f"=20
        /><O:LOCK v:ext=3D"edit" position=3D"t" rotation=3D"t" =
/></V:SHAPE><![endif]--><IMG height=3D291=20
        src=3D"http://www.8951.com/51test/cc403.27.gif" width=3D552=20
        v:shapes=3D"_x0000_i1026"></SPAN></P>
        <P class=3DMsoNormal style=3D"TEXT-ALIGN: center" =
align=3Dcenter><SPAN=20
        style=3D"FONT-FAMILY: =CB=CE=CC=E5; mso-ascii-font-family: =
'Times New Roman'; mso-hansi-font-family: 'Times New =
Roman'">=CD=BC</SPAN><SPAN=20
        lang=3DEN-US>4.3.2</SPAN></P>
        <P class=3DMsoNormal=20
        style=3D"MARGIN-LEFT: 18pt; TEXT-INDENT: -18pt; mso-list: l3 =
level1 lfo2; tab-stops: list 18.0pt"><B=20
        style=3D"mso-bidi-font-weight: normal"><I=20
        style=3D"mso-bidi-font-style: normal"><SPAN lang=3DEN-US=20
        style=3D"FONT-SIZE: 12pt; FONT-FAMILY: =
=D3=D7=D4=B2">6=A3=AE<SPAN=20
        style=3D"FONT: 7pt 'Times New Roman'"> </SPAN></SPAN></I></B><B=20
        style=3D"mso-bidi-font-weight: normal"><I=20
        style=3D"mso-bidi-font-style: normal"><SPAN=20
        style=3D"FONT-SIZE: 12pt; FONT-FAMILY: =
=D3=D7=D4=B2">=B7=BD=B7=A8=D2=BB=A3=A8=BB=E3=B1=E0=D4=B4=B3=CC=D0=F2=A3=A9=
<SPAN=20
        lang=3DEN-US><O:P> </O:P></SPAN></SPAN></I></B></P>
        <P class=3DMsoNormal=20
        style=3D"LINE-HEIGHT: 12pt; mso-line-height-rule: exactly"><SPAN =

        lang=3DEN-US style=3D"FONT-SIZE: 9pt"><SPAN=20
        style=3D"mso-tab-count: =
2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;=20
        </SPAN>ORG 00H<O:P> </O:P></SPAN></P>
        <P class=3DMsoNormal=20
        style=3D"LINE-HEIGHT: 12pt; mso-line-height-rule: exactly"><SPAN =

        lang=3DEN-US style=3D"FONT-SIZE: 9pt">START:<SPAN=20
        style=3D"mso-tab-count: =
2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;</SPAN><SPAN=20
        style=3D"mso-tab-count: =
1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
        </SPAN>MOV A,P1<O:P> </O:P></SPAN></P>
        <P class=3DMsoNormal=20
        style=3D"LINE-HEIGHT: 12pt; mso-line-height-rule: exactly"><SPAN =

        lang=3DEN-US style=3D"FONT-SIZE: 9pt"><SPAN=20
        style=3D"mso-tab-count: =
2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;=20
        </SPAN>ANL A,#0F0H<O:P> </O:P></SPAN></P>
        <P class=3DMsoNormal=20
        style=3D"LINE-HEIGHT: 12pt; mso-line-height-rule: exactly"><SPAN =

        lang=3DEN-US style=3D"FONT-SIZE: 9pt"><SPAN=20
        style=3D"mso-tab-count: =
2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;=20
        </SPAN>RR A<O:P> </O:P></SPAN></P>
        <P class=3DMsoNormal=20
        style=3D"LINE-HEIGHT: 12pt; mso-line-height-rule: exactly"><SPAN =

        lang=3DEN-US style=3D"FONT-SIZE: 9pt"><SPAN=20
        style=3D"mso-tab-count: =
2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;=20
        </SPAN>RR A<O:P> </O:P></SPAN></P>
        <P class=3DMsoNormal=20
        style=3D"LINE-HEIGHT: 12pt; mso-line-height-rule: exactly"><SPAN =

        lang=3DEN-US style=3D"FONT-SIZE: 9pt"><SPAN=20
        style=3D"mso-tab-count: =
2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;=20
        </SPAN>RR A<O:P> </O:P></SPAN></P>
        <P class=3DMsoNormal=20
        style=3D"LINE-HEIGHT: 12pt; mso-line-height-rule: exactly"><SPAN =

        lang=3DEN-US style=3D"FONT-SIZE: 9pt"><SPAN=20
        style=3D"mso-tab-count: =
2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;=20
        </SPAN>RR A<O:P> </O:P></SPAN></P>
        <P class=3DMsoNormal=20
        style=3D"LINE-HEIGHT: 12pt; mso-line-height-rule: exactly"><SPAN =

        lang=3DEN-US style=3D"FONT-SIZE: 9pt"><SPAN=20
        style=3D"mso-tab-count: =
2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;=20
        </SPAN>XOR A,#0F0H<O:P> </O:P></SPAN></P>
        <P class=3DMsoNormal=20
        style=3D"LINE-HEIGHT: 12pt; mso-line-height-rule: exactly"><SPAN =

        lang=3DEN-US style=3D"FONT-SIZE: 9pt"><SPAN=20
        style=3D"mso-tab-count: =
2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;=20
        </SPAN>MOV P1,A<O:P> </O:P></SPAN></P>
        <P class=3DMsoNormal=20
        style=3D"LINE-HEIGHT: 12pt; mso-line-height-rule: exactly"><SPAN =

        lang=3DEN-US style=3D"FONT-SIZE: 9pt"><SPAN=20
        style=3D"mso-tab-count: =
2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;=20
        </SPAN>SJMP START<O:P> </O:P></SPAN></P>
        <P class=3DMsoNormal=20
        style=3D"LINE-HEIGHT: 12pt; mso-line-height-rule: exactly"><SPAN =

        lang=3DEN-US style=3D"FONT-SIZE: 9pt"><SPAN=20
        style=3D"mso-tab-count: =
2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;=20
        </SPAN>END<O:P> </O:P></SPAN></P>
        <P class=3DMsoNormal=20
        style=3D"MARGIN-LEFT: 18pt; TEXT-INDENT: -18pt; mso-list: l3 =
level1 lfo2; tab-stops: list 18.0pt"><B=20
        style=3D"mso-bidi-font-weight: normal"><I=20
        style=3D"mso-bidi-font-style: normal"><SPAN lang=3DEN-US=20
        style=3D"FONT-SIZE: 12pt; FONT-FAMILY: =
=D3=D7=D4=B2">7=A3=AE<SPAN=20
        style=3D"FONT: 7pt 'Times New Roman'"> </SPAN></SPAN></I></B><B=20
        style=3D"mso-bidi-font-weight: normal"><I=20
        style=3D"mso-bidi-font-style: normal"><SPAN=20
        style=3D"FONT-SIZE: 12pt; FONT-FAMILY: =
=D3=D7=D4=B2">=B7=BD=B7=A8=D2=BB=A3=A8<SPAN=20
        lang=3DEN-US>C=D3=EF=D1=D4=D4=B4=B3=CC=D0=F2=A3=A9<O:P> =
</O:P></SPAN></SPAN></I></B></P>
        <P class=3DMsoNormal=20
        style=3D"LINE-HEIGHT: 12pt; mso-line-height-rule: exactly"><SPAN =

        lang=3DEN-US style=3D"FONT-SIZE: 9pt">#include =
&lt;AT89X51.H&gt;<O:P>=20
        </O:P></SPAN></P>
        <P class=3DMsoNormal=20
        style=3D"LINE-HEIGHT: 12pt; mso-line-height-rule: exactly"><SPAN =

        lang=3DEN-US style=3D"FONT-SIZE: 9pt">unsigned char temp;<O:P>=20
        </O:P></SPAN></P>
        <P class=3DMsoNormal=20
        style=3D"LINE-HEIGHT: 12pt; mso-line-height-rule: exactly"><SPAN =

        lang=3DEN-US style=3D"FONT-SIZE: 9pt">&nbsp;<O:P> =
</O:P></SPAN></P>
        <P class=3DMsoNormal=20
        style=3D"LINE-HEIGHT: 12pt; mso-line-height-rule: exactly"><SPAN =

        lang=3DEN-US style=3D"FONT-SIZE: 9pt">void main(void)<O:P> =
</O:P></SPAN></P>
        <P class=3DMsoNormal=20
        style=3D"LINE-HEIGHT: 12pt; mso-line-height-rule: exactly"><SPAN =

        lang=3DEN-US style=3D"FONT-SIZE: 9pt">{<O:P> </O:P></SPAN></P>
        <P class=3DMsoNormal=20
        style=3D"LINE-HEIGHT: 12pt; mso-line-height-rule: exactly"><SPAN =

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -