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

📄 模拟开关灯.mht

📁 一些C语言单片机程序
💻 MHT
📖 第 1 页 / 共 5 页
字号:
        style=3D"FONT-SIZE: 12pt; FONT-FAMILY: =
=D3=D7=D4=B2">=B3=CC=D0=F2=C9=E8=BC=C6=C4=DA=C8=DD<SPAN =
lang=3DEN-US><O:P>=20
        </O:P></SPAN></SPAN></I></B></P>
        <P class=3DMsoNormal=20
        style=3D"MARGIN-LEFT: 42.55pt; TEXT-INDENT: -42.55pt; mso-list: =
l4 level2 lfo2; tab-stops: list 0cm"><SPAN=20
        lang=3DEN-US=20
        style=3D"FONT-FAMILY: =CB=CE=CC=E5; mso-ascii-font-family: =
'Times New Roman'; mso-hansi-font-family: 'Times New =
Roman'">=A3=A81=A3=A9=A3=AE<SPAN=20
        style=3D"FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;=20
        </SPAN></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=AA=B9=D8=D7=B4=CC=AC=B5=C4=BC=EC=B2=E2=B9=FD=B3=CC</SPAN></P>=

        <P class=3DMsoNormal><SPAN=20
        style=3D"FONT-FAMILY: =CB=CE=CC=E5; mso-ascii-font-family: =
'Times New Roman'; mso-hansi-font-family: 'Times New =
Roman'">=B5=A5=C6=AC=BB=FA=B6=D4=BF=AA=B9=D8=D7=B4=CC=AC=B5=C4=BC=EC=B2=E2=
=CF=E0=B6=D4=D3=DA=B5=A5=C6=AC=BB=FA=C0=B4=CB=B5=A3=AC=CA=C7=B4=D3=B5=A5=C6=
=AC=BB=FA=B5=C4</SPAN><SPAN=20
        lang=3DEN-US>P3.0</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'">=B6=CB=BF=DA=CA=E4=C8=EB=D0=C5=BA=C5=A3=AC=B6=F8=CA=E4=C8=EB=B5=C4=
=D0=C5=BA=C5=D6=BB=D3=D0=B8=DF=B5=E7=C6=BD=BA=CD=B5=CD=B5=E7=C6=BD=C1=BD=D6=
=D6=A3=AC=B5=B1=B2=A6=BF=AA=BF=AA=B9=D8</SPAN><SPAN=20
        lang=3DEN-US>K1</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'">=B2=A6=C9=CF=C8=A5=A3=AC=BC=B4=CA=E4=C8=EB=B8=DF=B5=E7=C6=BD=A3=AC=
=CF=E0=B5=B1=BF=AA=B9=D8=B6=CF=BF=AA=A3=AC=B5=B1=B2=A6=B6=AF=BF=AA=B9=D8<=
/SPAN><SPAN=20
        lang=3DEN-US>K1</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'">=B2=A6=CF=C2=C8=A5=A3=AC=BC=B4=CA=E4=C8=EB=B5=CD=B5=E7=C6=BD=A3=AC=
=CF=E0=B5=B1=BF=AA=B9=D8=B1=D5=BA=CF=A1=A3=B5=A5=C6=AC=BB=FA=BF=C9=D2=D4=B2=
=C9=D3=C3</SPAN><SPAN=20
        lang=3DEN-US>JB</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'">=A1=A1</SPAN><SPAN=20
        lang=3DEN-US>BIT</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'">=A3=AC</SPAN><SPAN=20
        lang=3DEN-US>REL</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'">=BB=F2=D5=DF=CA=C7</SPAN><SPAN=20
        lang=3DEN-US>JNB</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'">=A1=A1</SPAN><SPAN=20
        lang=3DEN-US>BIT</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'">=A3=AC</SPAN><SPAN=20
        lang=3DEN-US>REL</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'">=D6=B8=C1=EE=C0=B4=CD=EA=B3=C9=B6=D4=BF=AA=B9=D8=D7=B4=CC=AC=B5=C4=
=BC=EC=B2=E2=BC=B4=BF=C9=A1=A3</SPAN></P>
        <P class=3DMsoNormal=20
        style=3D"MARGIN-LEFT: 42.55pt; TEXT-INDENT: -42.55pt; mso-list: =
l4 level2 lfo2; tab-stops: list 0cm"><SPAN=20
        lang=3DEN-US=20
        style=3D"FONT-FAMILY: =CB=CE=CC=E5; mso-ascii-font-family: =
'Times New Roman'; mso-hansi-font-family: 'Times New =
Roman'">=A3=A82=A3=A9=A3=AE<SPAN=20
        style=3D"FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;=20
        </SPAN></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'">=CA=E4=B3=F6=BF=D8=D6=C6</SPAN></P>
        <P class=3DMsoNormal><SPAN=20
        style=3D"FONT-FAMILY: =CB=CE=CC=E5; mso-ascii-font-family: =
'Times New Roman'; mso-hansi-font-family: 'Times New =
Roman'">=C8=E7=CD=BC</SPAN><SPAN=20
        lang=3DEN-US>3</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'">=CB=F9=CA=BE=A3=AC=B5=B1</SPAN><SPAN=20
        lang=3DEN-US>P1.0</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'">=B6=CB=BF=DA=CA=E4=B3=F6=B8=DF=B5=E7=C6=BD=A3=AC=BC=B4</SPAN><SPA=
N=20
        lang=3DEN-US>P1.0</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'">=A3=BD</SPAN><SPAN=20
        lang=3DEN-US>1</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'">=CA=B1=A3=AC=B8=F9=BE=DD=B7=A2=B9=E2=B6=FE=BC=AB=B9=DC=B5=C4=B5=A5=
=CF=F2=B5=BC=B5=E7=D0=D4=BF=C9=D6=AA=A3=AC=D5=E2=CA=B1=B7=A2=B9=E2=B6=FE=BC=
=AB=B9=DC</SPAN><SPAN=20
        lang=3DEN-US>L1</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=A8=C3=F0=A3=BB=B5=B1</SPAN><SPAN=20
        lang=3DEN-US>P1.0</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'">=B6=CB=BF=DA=CA=E4=B3=F6=B5=CD=B5=E7=C6=BD=A3=AC=BC=B4</SPAN><SPA=
N=20
        lang=3DEN-US>P1.0</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'">=A3=BD</SPAN><SPAN=20
        lang=3DEN-US>0</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'">=CA=B1=A3=AC=B7=A2=B9=E2=B6=FE=BC=AB=B9=DC</SPAN><SPAN=20
        lang=3DEN-US>L1</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'">=C1=C1=A3=BB=CE=D2=C3=C7=BF=C9=D2=D4=CA=B9=D3=C3</SPAN><SPAN=20
        lang=3DEN-US>SETB</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'">=A1=A1</SPAN><SPAN=20
        lang=3DEN-US>P1.0</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'">=D6=B8=C1=EE=CA=B9</SPAN><SPAN=20
        lang=3DEN-US>P1.0</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'">=B6=CB=BF=DA=CA=E4=B3=F6=B8=DF=B5=E7=C6=BD=A3=AC=CA=B9=D3=C3</SPA=
N><SPAN=20
        lang=3DEN-US>CLR</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'">=A1=A1</SPAN><SPAN=20
        lang=3DEN-US>P1.0</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'">=D6=B8=C1=EE=CA=B9</SPAN><SPAN=20
        lang=3DEN-US>P1.0</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'">=B6=CB=BF=DA=CA=E4=B3=F6=B5=CD=B5=E7=C6=BD=A1=A3</SPAN></P>
        <P class=3DMsoNormal=20
        style=3D"MARGIN-LEFT: 0cm; TEXT-INDENT: 0cm; mso-list: l4 level1 =
lfo2; tab-stops: list 0cm"><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">5=A3=AE<SPAN=20
        style=3D"FONT: 7pt 'Times New Roman'"> </SPAN></SPAN><SPAN=20
        style=3D"FONT-SIZE: 12pt; FONT-FAMILY: =
=D3=D7=D4=B2">=B3=CC=D0=F2=BF=F2=CD=BC<SPAN lang=3DEN-US><O:P>=20
        </O:P></SPAN></SPAN></I></B></P>
        <P class=3DMsoNormal><SPAN lang=3DEN-US=20
        style=3D"mso-field-code: 'SHAPE \* MERGEFORMAT'; mso-field-lock: =
yes"><!--[if gte vml 1]><V:GROUP=20
        id=3D_x0000_s1026=20
        style=3D"MARGIN-TOP: 0px; Z-INDEX: 1; MARGIN-LEFT: 0px; WIDTH: =
414pt; POSITION: absolute; HEIGHT: 187.2pt; =
mso-position-horizontal-relative: char; mso-position-vertical-relative: =
line"=20
        coordsize=3D"8280,3744" coordorigin=3D"1800,1517"><O:LOCK =
aspectratio=3D"t"=20
        v:ext=3D"edit" position=3D"t" rotation=3D"t" /><V:SHAPE =
id=3D_x0000_s1027=20
        style=3D"LEFT: 1800px; WIDTH: 8280px; POSITION: absolute; TOP: =
1517px; HEIGHT: 3744px"=20
        o:preferrelative=3D"f" type=3D"#_x0000_t75"><V:FILL =
o:detectmouseclick=3D"t"=20
        /><V:PATH o:connecttype=3D"none" o:extrusionok=3D"t" /><O:LOCK =
v:ext=3D"edit"=20
        text=3D"t" /></V:SHAPE><V:ROUNDRECT id=3D_x0000_s1028=20
        style=3D"LEFT: 5220px; WIDTH: 1439px; POSITION: absolute; TOP: =
1829px; HEIGHT: 468px"=20
        arcsize=3D"10923f" /><V:SHAPETYPE id=3D_x0000_t202=20
        path=3D"m0,0l0,21600,21600,21600,21600,0xe" o:spt=3D"202"=20
        coordsize=3D"21600,21600"><V:STROKE joinstyle=3D"miter" =
/><V:PATH=20
        o:connecttype=3D"rect" gradientshapeok=3D"t" =
/></V:SHAPETYPE><V:SHAPE=20
        id=3D_x0000_s1029=20
        style=3D"LEFT: 5400px; WIDTH: 1080px; POSITION: absolute; TOP: =
1829px; 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
              style=3D"FONT-FAMILY: =CB=CE=CC=E5; mso-ascii-font-family: =
'Times New Roman'; mso-hansi-font-family: 'Times New =
Roman'">=BF=AA=CA=BC</SPAN></P></DIV><![if =
!mso]></TD></TR></TBODY></TABLE><![endif]></V:TEXTBOX></V:SHAPE><V:SHAPET=
YPE=20
        id=3D_x0000_t9 =
path=3D"m@0,0l0,10800@0,21600@1,21600,21600,10800@1,0xe"=20
        o:spt=3D"9" coordsize=3D"21600,21600" adj=3D"5400"><V:STROKE =
joinstyle=3D"miter"=20
        /><V:FORMULAS><V:F eqn=3D"val #0" /><V:F eqn=3D"sum width 0 #0" =
/><V:F=20
        eqn=3D"sum height 0 #0" /><V:F eqn=3D"prod @0 2929 10000" /><V:F =

        eqn=3D"sum width 0 @3" /><V:F eqn=3D"sum height 0 @3" =
/></V:FORMULAS><V:PATH=20
        o:connecttype=3D"rect" gradientshapeok=3D"t"=20
        =
textboxrect=3D"1800,1800,19800,19800;3600,3600,18000,18000;6300,6300,1530=
0,15300"=20
        /><V:HANDLES><V:H position=3D"#0,topLeft" xrange=3D"0,10800"=20
        /></V:HANDLES></V:SHAPETYPE><V:SHAPE id=3D_x0000_s1030=20
        style=3D"LEFT: 4320px; WIDTH: 3240px; POSITION: absolute; TOP: =
2608px; HEIGHT: 469px"=20
        type=3D"#_x0000_t9" /><V:SHAPE id=3D_x0000_s1031=20
        style=3D"LEFT: 4680px; WIDTH: 2520px; POSITION: absolute; TOP: =
2609px; 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>K1</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=AA=B9=D8=B1=D5=BA=CF=C1=CB=C2=F0=A3=BF</SPAN></P></DIV><![if =
!mso]></TD></TR></TBODY></TABLE><![endif]></V:TEXTBOX></V:SHAPE><V:ROUNDR=
ECT=20
        id=3D_x0000_s1032=20
        style=3D"LEFT: 5220px; WIDTH: 1439px; POSITION: absolute; TOP: =
3389px; HEIGHT: 468px"=20
        arcsize=3D"10923f" /><V:SHAPE id=3D_x0000_s1033=20
        style=3D"LEFT: 5400px; WIDTH: 1080px; POSITION: absolute; TOP: =
3389px; 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>L1</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'">=C1=C1</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: 3600px; WIDTH: 1439px; POSITION: absolute; TOP: =
4013px; HEIGHT: 468px"=20
        arcsize=3D"10923f" /><V:SHAPE id=3D_x0000_s1035=20
        style=3D"LEFT: 3780px; WIDTH: 1080px; POSITION: absolute; TOP: =
4013px; 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>L1</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'">=C3=F0</SPAN></P></DIV><![if =
!mso]></TD></TR></TBODY></TABLE><![endif]></V:TEXTBOX></V:SHAPE><V:LINE=20
        id=3D_x0000_s1036 style=3D"POSITION: absolute" to=3D"5940,2609"=20
        from=3D"5940,2297"><V:STROKE endarrow=3D"block" =
/></V:LINE><V:LINE=20
        id=3D_x0000_s1037 style=3D"POSITION: absolute" to=3D"5940,3389"=20
        from=3D"5940,3077"><V:STROKE endarrow=3D"block" =
/></V:LINE><V:LINE=20
        id=3D_x0000_s1038 style=3D"POSITION: absolute" to=3D"5941,4949"=20
        from=3D"5940,3857"><V:STROKE endarrow=3D"block" =
/></V:LINE><V:LINE=20
        id=3D_x0000_s1039 style=3D"POSITION: absolute" to=3D"7920,4950"=20

⌨️ 快捷键说明

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