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

📄 单片机试验---计数器t0作定时应用技术.mht

📁 一些C语言单片机程序
💻 MHT
📖 第 1 页 / 共 5 页
字号:
Roman'">=B6=D4=D3=A6=D7=C5</SPAN><SPAN=20
        lang=3DEN-US>a</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>P0.1/AD1</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=D4=D3=A6=D7=C5</SPAN><SPAN=20
        lang=3DEN-US>b</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 style=3D"FONT-FAMILY: =
=CB=CE=CC=E5">=A1=AD=A1=AD</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>P0.7/AD7</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=D4=D3=A6=D7=C5</SPAN><SPAN=20
        lang=3DEN-US>h</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'">=A1=A3</SPAN></P>
        <P class=3DMsoNormal=20
        style=3D"MARGIN-LEFT: 36pt; TEXT-INDENT: -36pt; mso-list: l2 =
level1 lfo4; tab-stops: list 36.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'">=B0=D1=A1=B0=B5=A5=C6=AC=BB=FA=CF=B5=CD=B3=A1=B1=C7=F8=D3=F2=D6=D0=
=B5=C4</SPAN><SPAN=20
        lang=3DEN-US>P2.0/A8</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>P2.7/A15</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=CB=BF=DA=D3=C3</SPAN><SPAN=20
        lang=3DEN-US>8</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'">=D0=BE=C5=C5=CF=DF=C1=AC=BD=D3=B5=BD=A1=B0=CB=C4=C2=B7=BE=B2=CC=AC=
=CA=FD=C2=EB=CF=D4=CA=BE=C4=A3=BF=E9=A1=B1=C7=F8=D3=F2=D6=D0=B5=C4=C8=CE=D2=
=BB=B8=F6</SPAN><SPAN=20
        lang=3DEN-US>a</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>h</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=CB=BF=DA=C9=CF=A3=BB=D2=AA=C7=F3=A3=BA</SPAN><SPAN=20
        lang=3DEN-US>P2.0/A8</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=D4=D3=A6=D7=C5</SPAN><SPAN=20
        lang=3DEN-US>a</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>P2.1/A9</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=D4=D3=A6=D7=C5</SPAN><SPAN=20
        lang=3DEN-US>b</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 style=3D"FONT-FAMILY: =
=CB=CE=CC=E5">=A1=AD=A1=AD</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>P2.7/A15</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=D4=D3=A6=D7=C5</SPAN><SPAN=20
        lang=3DEN-US>h</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'">=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: 0cm; TEXT-INDENT: 0cm; mso-list: l4 level1 =
lfo3; 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; =
mso-hansi-font-family: =CB=CE=CC=E5">4=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; =
mso-hansi-font-family: =
=CB=CE=CC=E5">=B3=CC=D0=F2=C9=E8=BC=C6=C4=DA=C8=DD<SPAN=20
        lang=3DEN-US><O:P> </O:P></SPAN></SPAN></I></B></P>
        <P class=3DMsoNormal=20
        style=3D"TEXT-INDENT: 21pt; mso-char-indent-count: 2.0; =
mso-char-indent-size: 10.5pt"><SPAN=20
        lang=3DEN-US>AT89S51</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'">=B5=A5=C6=AC=BB=FA=B5=C4=C4=DA=B2=BF</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>/</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'">=BC=C6=CA=FD=C6=F7=CA=C7=D2=BB=B8=F6=BF=C9=B1=E0=B3=CC=B6=A8=CA=B1=
</SPAN><SPAN=20
        lang=3DEN-US>/</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'">=BC=C6=CA=FD=C6=F7=A3=AC=CB=FC=BC=C8=BF=C9=D2=D4=B9=A4=D7=F7=D4=DA=
</SPAN><SPAN=20
        lang=3DEN-US>13</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=B7=BD=CA=BD=A3=AC=D2=B2=BF=C9=D2=D4=B9=A4=D7=F7=
=D4=DA</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=B7=BD=CA=BD=BA=CD</SPAN><SPAN=20
        lang=3DEN-US>8</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=B7=BD=CA=BD=A1=A3=D6=BB=D2=AA=CD=A8=B9=FD=C9=E8=
=D6=C3=CC=D8=CA=E2=B9=A6=C4=DC=BC=C4=B4=E6=C6=F7</SPAN><SPAN=20
        lang=3DEN-US>TMOD</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=BC=B4=BF=C9=CD=EA=B3=C9=A1=A3=B6=A8=CA=B1</SPAN><SPAN=20
        lang=3DEN-US>/</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'">=BC=C6=CA=FD=C6=F7=BA=CE=CA=B1=B9=A4=D7=F7=D2=B2=CA=C7=CD=A8=B9=FD=
=C8=ED=BC=FE=C0=B4=C9=E8=B6=A8</SPAN><SPAN=20
        lang=3DEN-US>TCON</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'">=CC=D8=CA=E2=B9=A6=C4=DC=BC=C4=B4=E6=C6=F7=C0=B4=CD=EA=B3=C9=B5=C4=
=A1=A3</SPAN></P>
        <P class=3DMsoNormal=20
        style=3D"TEXT-INDENT: 15.75pt; mso-char-indent-count: 1.5; =
mso-char-indent-size: 10.5pt"><SPAN=20
        style=3D"FONT-FAMILY: =CB=CE=CC=E5; mso-hansi-font-family: =
'Times New Roman'; mso-ascii-font-family: 'Times New =
Roman'">=CF=D6=D4=DA=CE=D2=C3=C7=D1=A1=D4=F1</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=B9=A4=D7=F7=B7=BD=CA=BD=A3=AC=B6=D4=D3=DA</SPA=
N><SPAN=20
        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'">=C0=B4=CB=B5=A3=AC=D7=EE=B4=F3=B6=A8=CA=B1=D2=B2=D6=BB=D3=D0</SPA=
N><SPAN=20
        lang=3DEN-US>65536us</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=BC=B4</SPAN><SPAN=20
        lang=3DEN-US>65.536ms</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=CE=DE=B7=A8=B4=EF=B5=BD=CE=D2=C3=C7=CB=F9=D0=E8=D2=AA=B5=C4=
</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'">=C3=EB=B5=C4=B6=A8=CA=B1=A3=AC=D2=F2=B4=CB=A3=AC=CE=D2=C3=C7=B1=D8=
=D0=EB=CD=A8=B9=FD=C8=ED=BC=FE=C0=B4=B4=A6=C0=ED=D5=E2=B8=F6=CE=CA=CC=E2=A3=
=AC=BC=D9=C9=E8=CE=D2=C3=C7=C8=A1</SPAN><SPAN=20
        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'">=B5=C4=D7=EE=B4=F3=B6=A8=CA=B1=CE=AA</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=BC=B4=D2=AA=B6=A8=CA=B1</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'">=C3=EB=D0=E8=D2=AA=BE=AD=B9=FD</SPAN><SPAN=20
        lang=3DEN-US>20</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=B5=C4</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'">=B5=C4=B6=A8=CA=B1=A1=A3=B6=D4=D3=DA=D5=E2</SPAN><SPAN=20
        lang=3DEN-US>20</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=CE=D2=C3=C7=BE=CD=BF=C9=D2=D4=B2=C9=D3=C3=C8=ED=BC=FE=B5=C4=
=B7=BD=B7=A8=C0=B4=CD=B3=BC=C6=C1=CB=A1=A3</SPAN></P>
        <P class=3DMsoNormal=20
        style=3D"TEXT-INDENT: 42pt; mso-char-indent-count: 4.0; =
mso-char-indent-size: 10.5pt"><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=F2=B4=CB=A3=AC=CE=D2=C3=C7=C9=E8=B6=A8</SPAN><SPAN=20
        lang=3DEN-US>TMOD</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>00000001B</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=BC=B4</SPAN><SPAN=20
        lang=3DEN-US>TMOD</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>01H</SPAN></P>
        <P class=3DMsoNormal=20
        style=3D"TEXT-INDENT: 21pt; mso-char-indent-count: 2.0; =
mso-char-indent-size: 10.5pt"><SPAN=20
        style=3D"FONT-FAMILY: =CB=CE=CC=E5; mso-hansi-font-family: =
'Times New Roman'; mso-ascii-font-family: 'Times New =
Roman'">=CF=C2=C3=E6=CE=D2=C3=C7=D2=AA=B8=F8</SPAN><SPAN=20
        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'">=B6=A8=CA=B1</SPAN><SPAN=20
        lang=3DEN-US>/</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'">=BC=C6=CA=FD=C6=F7=B5=C4</SPAN><SPAN=20
        lang=3DEN-US>TH0</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>TL0</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'">=D7=B0=C8=EB=D4=A4=D6=C3=B3=F5=D6=B5=A3=AC=CD=A8=B9=FD=CF=C2=C3=E6=
=B5=C4=B9=AB=CA=BD=BF=C9=D2=D4=BC=C6=CB=E3=B3=F6</SPAN></P>
        <P class=3DMsoNormal=20
        style=3D"TEXT-INDENT: 21pt; mso-char-indent-count: 2.0; =
mso-char-indent-size: 10.5pt"><SPAN=20
        lang=3DEN-US>TH0</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=A3=A8</SPAN><SPAN=20
        lang=3DEN-US>2<SUP>16</SUP></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>50000</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=A9=A1=A1</SPAN><SPAN=20
        lang=3DEN-US>/</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'">=A1=A1</SPAN><SPAN=20
        lang=3DEN-US>256</SPAN></P>
        <P class=3DMsoNormal style=3D"TEXT-INDENT: 21pt"><SPAN=20
        lang=3DEN-US>TL0</SPAN><SPAN=20
        style=3D"FONT-FAMILY: =CB=CE=CC=E5; mso-hansi-font-family: =

⌨️ 快捷键说明

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