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

📄 定时计数器t0作定时应用技术.mht

📁 一些C语言单片机程序
💻 MHT
📖 第 1 页 / 共 5 页
字号:
level2 lfo2; tab-stops: list 57.0pt"><SPAN=20
        lang=3DEN-US style=3D"FONT-FAMILY: =CB=CE=CC=E5; =
mso-bidi-font-size: 10.5pt">=A3=A82=A3=AE<SPAN=20
        style=3D"FONT: 7pt 'Times New =
Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
        </SPAN></SPAN><SPAN=20
        style=3D"FONT-FAMILY: =CB=CE=CC=E5; mso-hansi-font-family: =
'Times New Roman'; mso-ascii-font-family: 'Times New =
Roman'">=B6=A8=CA=B1</SPAN><SPAN=20
        lang=3DEN-US>2</SPAN><SPAN=20
        style=3D"FONT-FAMILY: =CB=CE=CC=E5; mso-hansi-font-family: =
'Times New Roman'; mso-ascii-font-family: 'Times New =
Roman'">=C3=EB=A3=AC=B2=C9=D3=C3</SPAN><SPAN=20
        lang=3DEN-US>16</SPAN><SPAN=20
        style=3D"FONT-FAMILY: =CB=CE=CC=E5; mso-hansi-font-family: =
'Times New Roman'; mso-ascii-font-family: 'Times New =
Roman'">=CE=BB=B6=A8=CA=B1</SPAN><SPAN=20
        lang=3DEN-US>50ms</SPAN><SPAN=20
        style=3D"FONT-FAMILY: =CB=CE=CC=E5; mso-hansi-font-family: =
'Times New Roman'; mso-ascii-font-family: 'Times New =
Roman'">=A3=AC=B9=B2=B6=A8=CA=B1</SPAN><SPAN=20
        lang=3DEN-US>40</SPAN><SPAN=20
        style=3D"FONT-FAMILY: =CB=CE=CC=E5; mso-hansi-font-family: =
'Times New Roman'; mso-ascii-font-family: 'Times New =
Roman'">=B4=CE=B2=C5=BF=C9=B4=EF=B5=BD</SPAN><SPAN=20
        lang=3DEN-US>2</SPAN><SPAN=20
        style=3D"FONT-FAMILY: =CB=CE=CC=E5; mso-hansi-font-family: =
'Times New Roman'; mso-ascii-font-family: 'Times New =
Roman'">=C3=EB=A3=AC=C3=BF</SPAN><SPAN=20
        lang=3DEN-US>50ms</SPAN><SPAN=20
        style=3D"FONT-FAMILY: =CB=CE=CC=E5; mso-hansi-font-family: =
'Times New Roman'; mso-ascii-font-family: 'Times New =
Roman'">=B2=FA=C9=FA=D2=BB=D6=D0=B6=CF=A3=AC=B6=A8=CA=B1=B5=C4</SPAN><SPA=
N=20
        lang=3DEN-US>40</SPAN><SPAN=20
        style=3D"FONT-FAMILY: =CB=CE=CC=E5; mso-hansi-font-family: =
'Times New Roman'; mso-ascii-font-family: 'Times New =
Roman'">=B4=CE=CA=FD=D4=DA=D6=D0=B6=CF=B7=FE=CE=F1=B3=CC=D0=F2=D6=D0=CD=EA=
=B3=C9=A3=AC=CD=AC=D1=F9</SPAN><SPAN=20
        lang=3DEN-US>0.2</SPAN><SPAN=20
        style=3D"FONT-FAMILY: =CB=CE=CC=E5; mso-hansi-font-family: =
'Times New Roman'; mso-ascii-font-family: 'Times New =
Roman'">=C3=EB=B5=C4=B6=A8=CA=B1=A3=AC=D0=E8=D2=AA</SPAN><SPAN=20
        lang=3DEN-US>4</SPAN><SPAN=20
        style=3D"FONT-FAMILY: =CB=CE=CC=E5; mso-hansi-font-family: =
'Times New Roman'; mso-ascii-font-family: 'Times New =
Roman'">=B4=CE=B2=C5=BF=C9=B4=EF=B5=BD</SPAN><SPAN=20
        lang=3DEN-US>0.2</SPAN><SPAN=20
        style=3D"FONT-FAMILY: =CB=CE=CC=E5; mso-hansi-font-family: =
'Times New Roman'; mso-ascii-font-family: 'Times New =
Roman'">=C3=EB=A1=A3=B6=D4=D3=DA=D6=D0=B6=CF=B3=CC=D0=F2=A3=AC=D4=DA=D6=F7=
=B3=CC=D0=F2=D6=D0=D2=AA=B6=D4=D6=D0=B6=CF=BF=AA=D6=D0=B6=CF=A1=A3</SPAN>=
<SPAN=20
        lang=3DEN-US style=3D"FONT-FAMILY: =CB=CE=CC=E5; =
mso-bidi-font-size: 10.5pt"><O:P>=20
        </O:P></SPAN></P>
        <P class=3DMsoNormal=20
        style=3D"MARGIN-LEFT: 57pt; TEXT-INDENT: -36pt; mso-list: l1 =
level2 lfo2; tab-stops: list 57.0pt"><SPAN=20
        lang=3DEN-US style=3D"FONT-FAMILY: =CB=CE=CC=E5; =
mso-bidi-font-size: 10.5pt">=A3=A83=A3=AE<SPAN=20
        style=3D"FONT: 7pt 'Times New =
Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
        </SPAN></SPAN><SPAN=20
        style=3D"FONT-FAMILY: =CB=CE=CC=E5; mso-hansi-font-family: =
'Times New Roman'; mso-ascii-font-family: 'Times New =
Roman'">=D3=C9=D3=DA=C3=BF=B4=CE</SPAN><SPAN=20
        lang=3DEN-US>2</SPAN><SPAN=20
        style=3D"FONT-FAMILY: =CB=CE=CC=E5; mso-hansi-font-family: =
'Times New Roman'; mso-ascii-font-family: 'Times New =
Roman'">=C3=EB=B6=A8=CA=B1=B5=BD=CA=B1=A3=AC</SPAN><SPAN=20
        lang=3DEN-US>L1</SPAN><SPAN=20
        style=3D"FONT-FAMILY: =CB=CE=CC=E5; mso-hansi-font-family: =
'Times New Roman'; mso-ascii-font-family: 'Times New =
Roman'">=A3=AD</SPAN><SPAN=20
        lang=3DEN-US>L4</SPAN><SPAN=20
        style=3D"FONT-FAMILY: =CB=CE=CC=E5; mso-hansi-font-family: =
'Times New Roman'; mso-ascii-font-family: 'Times New =
Roman'">=D2=AA=BD=BB=CC=E6=C9=C1=CB=B8=A1=A3=B2=C9=D3=C3</SPAN><SPAN=20
        lang=3DEN-US>ID</SPAN><SPAN=20
        style=3D"FONT-FAMILY: =CB=CE=CC=E5; mso-hansi-font-family: =
'Times New Roman'; mso-ascii-font-family: 'Times New =
Roman'">=C0=B4=BA=C5=C0=B4=CA=B6=B1=F0=A1=A3=B5=B1</SPAN><SPAN=20
        lang=3DEN-US>ID</SPAN><SPAN=20
        style=3D"FONT-FAMILY: =CB=CE=CC=E5; mso-hansi-font-family: =
'Times New Roman'; mso-ascii-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-hansi-font-family: =
'Times New Roman'; mso-ascii-font-family: 'Times New =
Roman'">=CA=B1=A3=AC</SPAN><SPAN=20
        lang=3DEN-US>L1</SPAN><SPAN=20
        style=3D"FONT-FAMILY: =CB=CE=CC=E5; mso-hansi-font-family: =
'Times New Roman'; mso-ascii-font-family: 'Times New =
Roman'">=D4=DA=C9=C1=CB=B8=A3=AC=B5=B1</SPAN><SPAN=20
        lang=3DEN-US>ID</SPAN><SPAN=20
        style=3D"FONT-FAMILY: =CB=CE=CC=E5; mso-hansi-font-family: =
'Times New Roman'; mso-ascii-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-hansi-font-family: =
'Times New Roman'; mso-ascii-font-family: 'Times New =
Roman'">=CA=B1=A3=AC</SPAN><SPAN=20
        lang=3DEN-US>L2</SPAN><SPAN=20
        style=3D"FONT-FAMILY: =CB=CE=CC=E5; mso-hansi-font-family: =
'Times New Roman'; mso-ascii-font-family: 'Times New =
Roman'">=D4=DA=C9=C1=CB=B8=A3=BB=B5=B1</SPAN><SPAN=20
        lang=3DEN-US>ID</SPAN><SPAN=20
        style=3D"FONT-FAMILY: =CB=CE=CC=E5; mso-hansi-font-family: =
'Times New Roman'; mso-ascii-font-family: 'Times New =
Roman'">=A3=BD</SPAN><SPAN=20
        lang=3DEN-US>2</SPAN><SPAN=20
        style=3D"FONT-FAMILY: =CB=CE=CC=E5; mso-hansi-font-family: =
'Times New Roman'; mso-ascii-font-family: 'Times New =
Roman'">=CA=B1=A3=AC</SPAN><SPAN=20
        lang=3DEN-US>L3</SPAN><SPAN=20
        style=3D"FONT-FAMILY: =CB=CE=CC=E5; mso-hansi-font-family: =
'Times New Roman'; mso-ascii-font-family: 'Times New =
Roman'">=D4=DA=C9=C1=CB=B8=A3=BB=B5=B1</SPAN><SPAN=20
        lang=3DEN-US>ID</SPAN><SPAN=20
        style=3D"FONT-FAMILY: =CB=CE=CC=E5; mso-hansi-font-family: =
'Times New Roman'; mso-ascii-font-family: 'Times New =
Roman'">=A3=BD</SPAN><SPAN=20
        lang=3DEN-US>3</SPAN><SPAN=20
        style=3D"FONT-FAMILY: =CB=CE=CC=E5; mso-hansi-font-family: =
'Times New Roman'; mso-ascii-font-family: 'Times New =
Roman'">=CA=B1=A3=AC</SPAN><SPAN=20
        lang=3DEN-US>L4</SPAN><SPAN=20
        style=3D"FONT-FAMILY: =CB=CE=CC=E5; mso-hansi-font-family: =
'Times New Roman'; mso-ascii-font-family: 'Times New =
Roman'">=D4=DA=C9=C1=CB=B8</SPAN><SPAN=20
        lang=3DEN-US style=3D"FONT-FAMILY: =CB=CE=CC=E5; =
mso-bidi-font-size: 10.5pt"><O:P>=20
        </O:P></SPAN></P>
        <P class=3DMsoNormal=20
        style=3D"MARGIN-LEFT: 1cm; TEXT-INDENT: -1cm; mso-list: l1 =
level1 lfo2; tab-stops: list 1.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; =
mso-hansi-font-family: =CB=CE=CC=E5">5=A3=AE<SPAN=20
        style=3D"FONT: 7pt 'Times New =
Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
        </SPAN></SPAN><SPAN=20
        style=3D"FONT-SIZE: 12pt; FONT-FAMILY: =D3=D7=D4=B2; =
mso-hansi-font-family: =CB=CE=CC=E5">=B3=CC=D0=F2=BF=F2=CD=BC<SPAN=20
        lang=3DEN-US><O:P> </O:P></SPAN></SPAN></I></B></P>
        <P class=3DMsoNormal><SPAN lang=3DEN-US>&nbsp;<O:P> =
</O:P></SPAN></P>
        <P class=3DMsoNormal><SPAN lang=3DEN-US>T0</SPAN><SPAN=20
        style=3D"FONT-FAMILY: =CB=CE=CC=E5; mso-hansi-font-family: =
'Times New Roman'; mso-ascii-font-family: 'Times New =
Roman'">=D6=D0=B6=CF=B7=FE=CE=F1=B3=CC=D0=F2=BF=F2=CD=BC</SPAN></P>
        <P class=3DMsoNormal><SPAN lang=3DEN-US>&nbsp;<O:P> =
</O:P></SPAN></P>
        <P class=3DMsoNormal><!--[if gte vml 1]><V:ROUNDRECT =
id=3D_x0000_s1034=20
        style=3D"MARGIN-TOP: 156pt; Z-INDEX: 9; LEFT: 0px; MARGIN-LEFT: =
153pt; WIDTH: 81pt; POSITION: absolute; HEIGHT: 23.4pt; TEXT-ALIGN: =
left"=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_s1035=20
        style=3D"MARGIN-TOP: 156pt; Z-INDEX: 10; LEFT: 0px; MARGIN-LEFT: =
162pt; WIDTH: 63pt; POSITION: absolute; HEIGHT: 23.4pt; TEXT-ALIGN: =
left"=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-hansi-font-family: =
'Times New Roman'; mso-ascii-font-family: 'Times New =
Roman'">=B5=C8=B4=FD=D6=D0=B6=CF</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"MARGIN-TOP: 117pt; Z-INDEX: 7; LEFT: 0px; MARGIN-LEFT: =
117pt; WIDTH: 153pt; POSITION: absolute; HEIGHT: 23.4pt; TEXT-ALIGN: =
left"=20
        arcsize=3D"10923f" /><V:SHAPE id=3D_x0000_s1033=20
        style=3D"MARGIN-TOP: 117pt; Z-INDEX: 8; LEFT: 0px; MARGIN-LEFT: =
126pt; WIDTH: 135pt; POSITION: absolute; HEIGHT: 23.4pt; TEXT-ALIGN: =
left"=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><SPAN lang=3DEN-US>TR0</SPAN><SPAN=20
              style=3D"FONT-FAMILY: =CB=CE=CC=E5; mso-hansi-font-family: =
'Times New Roman'; mso-ascii-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-hansi-font-family: =
'Times New Roman'; mso-ascii-font-family: 'Times New =
Roman'">=A3=AC</SPAN><SPAN=20
              lang=3DEN-US>ET0</SPAN><SPAN=20
              style=3D"FONT-FAMILY: =CB=CE=CC=E5; mso-hansi-font-family: =
'Times New Roman'; mso-ascii-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-hansi-font-family: =
'Times New Roman'; mso-ascii-font-family: 'Times New =
Roman'">=A3=AC</SPAN><SPAN=20
              lang=3DEN-US>EA</SPAN><SPAN=20
              style=3D"FONT-FAMILY: =CB=CE=CC=E5; mso-hansi-font-family: =
'Times New Roman'; mso-ascii-font-family: 'Times New =
Roman'">=A3=BD</SPAN><SPAN=20
              lang=3DEN-US>1</SPAN></P></DIV><![if =
!mso]></TD></TR></TBODY></TABLE><![endif]></V:TEXTBOX></V:SHAPE><V:LINE=20
        id=3D_x0000_s1039=20
        style=3D"Z-INDEX: 14; LEFT: 0px; POSITION: absolute; TEXT-ALIGN: =
left"=20
        to=3D"198pt,150.6pt" from=3D"198pt,135pt"><V:STROKE =
endarrow=3D"block"=20
        /></V:LINE><V:ROUNDRECT id=3D_x0000_s1026=20
        style=3D"MARGIN-TOP: 0px; Z-INDEX: 1; LEFT: 0px; MARGIN-LEFT: =
162pt; WIDTH: 1in; POSITION: absolute; HEIGHT: 23.4pt; TEXT-ALIGN: left" =

        arcsize=3D"10923f" /><V:SHAPE id=3D_x0000_s1027=20
        style=3D"MARGIN-TOP: 0px; Z-INDEX: 2; LEFT: 0px; MARGIN-LEFT: =
170.85pt; WIDTH: 54pt; POSITION: absolute; HEIGHT: 23.4pt; TEXT-ALIGN: =
left"=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-hansi-font-family: =
'Times New Roman'; mso-ascii-font-family: 'Times New =
Roman'">=BF=AA=A1=A1=CA=BC</SPAN></P></DIV><![if =
!mso]></TD></TR></TBODY></TABLE><![endif]></V:TEXTBOX></V:SHAPE><V:ROUNDR=
ECT=20
        id=3D_x0000_s1028=20
        style=3D"MARGIN-TOP: 39pt; Z-INDEX: 3; LEFT: 0px; MARGIN-LEFT: =
108pt; WIDTH: 171pt; POSITION: absolute; HEIGHT: 23.4pt; TEXT-ALIGN: =
left"=20
        arcsize=3D"10923f" /><V:SHAPE id=3D_x0000_s1029=20
        style=3D"MARGIN-TOP: 39pt; Z-INDEX: 4; LEFT: 0px; MARGIN-LEFT: =
117pt; WIDTH: 153pt; POSITION: absolute; HEIGHT: 23.4pt; TEXT-ALIGN: =
left"=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>Count2S=3D0</SPAN><SPAN=20
              style=3D"FONT-FAMILY: =CB=CE=CC=E5; mso-hansi-font-family: =
'Times New Roman'; mso-ascii-font-family: 'Times New =
Roman'">=A3=AC</SPAN><SPAN=20
              lang=3DEN-US>Cnt02S=3D0</SPAN><SPAN=20
              style=3D"FONT-FAMILY: =CB=CE=CC=E5; mso-hansi-font-family: =
'Times New Roman'; mso-ascii-font-family: 'Times New =
Roman'">=A3=AC</SPAN><SPAN=20
              lang=3DEN-US>ID</SPAN><SPAN=20
              style=3D"FONT-FAMILY: =CB=CE=CC=E5; mso-hansi-font-family: =
'Times New Roman'; mso-ascii-font-family: 'Times New =
Roman'">=A3=BD</SPAN><SPAN=20

⌨️ 快捷键说明

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