📄 00-99jishuqi.htm
字号:
lang=EN-US style='font-size:9.0pt;line-height:150%;font-family:宋体;
mso-bidi-font-family:宋体;color:blue'>[</span></strong><strong><span
style='font-size:9.0pt;line-height:150%;font-family:宋体;mso-bidi-font-family:
宋体;color:blue'>组图<span lang=EN-US>]</span></span></strong><strong><span
lang=EN-US style='font-size:9.0pt;line-height:150%;font-family:宋体;
mso-bidi-font-family:宋体'>00</span></strong><strong><span style='font-size:
9.0pt;line-height:150%;font-family:宋体;mso-bidi-font-family:宋体'>-<span
lang=EN-US>99</span>计数器</span></strong><span lang=EN-US style='font-size:
9.0pt;line-height:150%'><o:p></o:p></span></p>
</td>
<td width="18%" style='width:18.0%;padding:0cm 0cm 0cm 0cm'>
<p class=MsoNormal style='line-height:150%;word-break:break-all'><span
lang=EN-US style='font-size:9.0pt;line-height:150%'> <o:p></o:p></span></p>
</td>
<td width="13%" style='width:13.0%;padding:0cm 0cm 0cm 0cm'>
<p class=MsoNormal align=right style='text-align:right;line-height:150%;
word-break:break-all'><span style='font-size:9.0pt;line-height:150%'>【字体:<span
lang=EN-US><a href="javascript:fontZoomA();"><span lang=EN-US
style='color:white'><span lang=EN-US>小</span></span></a> <a
href="javascript:fontZoomB();"><span lang=EN-US style='color:white'><span
lang=EN-US>大</span></span></a></span>】<span lang=EN-US><o:p></o:p></span></span></p>
</td>
</tr>
</table>
<p class=MsoNormal style='line-height:150%;word-break:break-all'><span
lang=EN-US style='font-size:9.0pt;line-height:150%'><o:p></o:p></span></p>
</td>
</tr>
<tr style='mso-yfti-irow:1;height:37.5pt'>
<td colspan=2 style='padding:0cm 0cm 0cm 0cm;height:37.5pt'>
<p class=MsoNormal align=center style='text-align:center;line-height:150%;
word-break:break-all'><span lang=EN-US style='font-size:9.0pt;line-height:
150%'>00</span><span style='font-size:9.0pt;line-height:150%'>-<span
lang=EN-US>99</span>计数器<span lang=EN-US><o:p></o:p></span></span></p>
</td>
</tr>
<tr style='mso-yfti-irow:2'>
<td colspan=2 style='padding:0cm 0cm 0cm 0cm'>
<p class=MsoNormal align=center style='text-align:center;line-height:150%;
word-break:break-all'><b><span lang=EN-US style='font-size:9.0pt;line-height:
150%'><o:p> </o:p></span></b></p>
</td>
</tr>
<tr style='mso-yfti-irow:3'>
<td colspan=2 style='background:whitesmoke;padding:0cm 0cm 0cm 0cm'>
<p class=MsoNormal align=center style='text-align:center;line-height:150%;
word-break:break-all'><span style='font-size:9.0pt;line-height:150%'>作者:未知<span
lang=EN-US> </span>文章来源:网络<span lang=EN-US> </span>点击数:<span
lang=EN-US>790 </span>更新时间:<span lang=EN-US>2005-9-2<o:p></o:p></span></span></p>
</td>
</tr>
<tr style='mso-yfti-irow:4;height:225.0pt'>
<td colspan=2 valign=top style='border:solid #D2D3D9 1.0pt;mso-border-alt:
solid #D2D3D9 .75pt;padding:6.0pt 6.0pt 6.0pt 6.0pt;height:225.0pt'
id=fontzoom><!--插入广告JS代码-->
<table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 align=left
style='mso-cellspacing:0cm;mso-table-lspace:2.25pt;mso-table-rspace:2.25pt;
mso-table-anchor-vertical:paragraph;mso-table-anchor-horizontal:column;
mso-table-left:left;mso-padding-alt:7.5pt 7.5pt 7.5pt 7.5pt'>
<tr style='mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes'>
<td style='padding:7.5pt 7.5pt 7.5pt 7.5pt'>
<p class=MsoNormal style='line-height:150%'><span lang=EN-US
style='font-size:9.0pt;line-height:150%'><o:p> </o:p></span></p>
</td>
</tr>
</table>
<p class=MsoNormal align=center style='mso-margin-top-alt:auto;mso-margin-bottom-alt:
auto;margin-left:1.0cm;text-align:center;text-indent:-1.0cm;tab-stops:list 0cm left 54.0pt;
word-break:break-all'><b style='mso-bidi-font-weight:normal'><i
style='mso-bidi-font-style:normal'><span lang=EN-US style='font-size:15.0pt;
font-family:"Arial Black";mso-fareast-font-family:华文新魏'>10</span></i></b><b
style='mso-bidi-font-weight:normal'><i style='mso-bidi-font-style:normal'><span
style='font-size:15.0pt;font-family:华文新魏;mso-ascii-font-family:"Arial Black";
mso-hansi-font-family:"Arial Black"'>.</span></i></b><b style='mso-bidi-font-weight:
normal'><i style='mso-bidi-font-style:normal'><span lang=EN-US
style='font-size:7.0pt;font-family:"Times New Roman";mso-fareast-font-family:
华文新魏'> </span></i></b><b
style='mso-bidi-font-weight:normal'><i style='mso-bidi-font-style:normal'><span
lang=EN-US style='font-size:15.0pt'>00</span></i></b><b style='mso-bidi-font-weight:
normal'><i style='mso-bidi-font-style:normal'><span style='font-size:15.0pt;
mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:"Times New Roman"'>-</span></i></b><b
style='mso-bidi-font-weight:normal'><i style='mso-bidi-font-style:normal'><span
lang=EN-US style='font-size:15.0pt'>99</span></i></b><b style='mso-bidi-font-weight:
normal'><i style='mso-bidi-font-style:normal'><span style='font-size:15.0pt;
mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:"Times New Roman"'>计数器</span></i></b></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
margin-left:18.0pt;text-indent:-18.0pt;tab-stops:list 18.0pt;word-break:break-all'><b
style='mso-bidi-font-weight:normal'><i style='mso-bidi-font-style:normal'><span
lang=EN-US style='font-family:幼圆'>1</span></i></b><b style='mso-bidi-font-weight:
normal'><i style='mso-bidi-font-style:normal'><span style='font-family:幼圆'>.</span></i></b><b
style='mso-bidi-font-weight:normal'><i style='mso-bidi-font-style:normal'><span
style='font-size:7.0pt;font-family:"Times New Roman";mso-fareast-font-family:
幼圆'> </span></i></b><b style='mso-bidi-font-weight:normal'><i
style='mso-bidi-font-style:normal'><span style='font-family:幼圆'>实验任务<u1:P> </span></i></b><span
lang=EN-US></u1:P></span></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
word-break:break-all'><span style='mso-ascii-font-family:"Times New Roman";
mso-hansi-font-family:"Times New Roman"'>利用</span><span lang=EN-US>AT89S51</span><span
style='mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:"Times New Roman"'>单片机来制作一个手动计数器,在</span><span
lang=EN-US>AT89S51</span><span style='mso-ascii-font-family:"Times New Roman";
mso-hansi-font-family:"Times New Roman"'>单片机的</span><span lang=EN-US>P3.7</span><span
style='mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:"Times New Roman"'>管脚接一个轻触开关,作为手动计数的按钮,用单片机的</span><span
lang=EN-US>P2.0</span><span style='mso-ascii-font-family:"Times New Roman";
mso-hansi-font-family:"Times New Roman"'>-</span><span lang=EN-US>P2.7</span><span
style='mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:"Times New Roman"'>接一个共阴数码管,作为</span><span
lang=EN-US>00</span><span style='mso-ascii-font-family:"Times New Roman";
mso-hansi-font-family:"Times New Roman"'>-</span><span lang=EN-US>99</span><span
style='mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:"Times New Roman"'>计数的个位数显示,用单片机的</span><span
lang=EN-US>P0.0</span><span style='mso-ascii-font-family:"Times New Roman";
mso-hansi-font-family:"Times New Roman"'>-</span><span lang=EN-US>P0.7</span><span
style='mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:"Times New Roman"'>接一个共阴数码管,作为</span><span
lang=EN-US>00</span><span style='mso-ascii-font-family:"Times New Roman";
mso-hansi-font-family:"Times New Roman"'>-</span><span lang=EN-US>99</span><span
style='mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:"Times New Roman"'>计数的十位数显示;硬件电路图如图</span><span
lang=EN-US>19</span><span style='mso-ascii-font-family:"Times New Roman";
mso-hansi-font-family:"Times New Roman"'>所示。</span><span style='mso-bidi-font-size:
10.5pt'><u1:P> </span><span lang=EN-US></u1:P></span></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
margin-left:18.0pt;text-indent:-18.0pt;tab-stops:list 18.0pt;word-break:break-all'><b
style='mso-bidi-font-weight:normal'><i style='mso-bidi-font-style:normal'><span
lang=EN-US style='font-family:幼圆'>2</span></i></b><b style='mso-bidi-font-weight:
normal'><i style='mso-bidi-font-style:normal'><span style='font-family:幼圆'>.</span></i></b><b
style='mso-bidi-font-weight:normal'><i style='mso-bidi-font-style:normal'><span
style='font-size:7.0pt;font-family:"Times New Roman";mso-fareast-font-family:
幼圆'> </span></i></b><b style='mso-bidi-font-weight:normal'><i
style='mso-bidi-font-style:normal'><span style='font-family:幼圆'>电路原理图<u1:P> </span></i></b><span
lang=EN-US></u1:P><o:p></o:p></span></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
word-break:break-all'><span lang=EN-US><u2:SHAPETYPE id="_x0000_t75" stroked="f" filled="f" path="m@4@5l@4@11@9@11@9@5xe" u3:preferrelative="t" u3:spt="75" coordsize="21600,21600"><u2:STROKE joinstyle="miter"></u2:STROKE><u2:FORMULAS><u2:F eqn="if lineDrawn pixelLineWidth 0"></u2:F><u2:F eqn="sum @0 1 0"></u2:F><u2:F eqn="sum 0 0 @1"></u2:F><u2:F eqn="prod @2 1 2"></u2:F><u2:F eqn="prod @3 21600 pixelWidth"></u2:F><u2:F eqn="prod @3 21600 pixelHeight"></u2:F><u2:F eqn="sum @0 0 1"></u2:F><u2:F eqn="prod @6 1 2"></u2:F><u2:F eqn="prod @7 21600 pixelWidth"></u2:F><u2:F eqn="sum @8 21600 0"></u2:F><u2:F eqn="prod @7 21600 pixelHeight"></u2:F><u2:F eqn="sum @10 21600 0"></u2:F></u2:FORMULAS><u2:PATH u3:connecttype="rect" gradientshapeok="t" u3:extrusionok="f"></u2:PATH><u1:LOCK aspectratio="t" u4:ext="edit"></u1:LOCK></u2:SHAPETYPE><u2:SHAPE id="_x0000_i1025" style="WIDTH: 414.75pt; HEIGHT: 312pt" type="#_x0000_t75"><u2:IMAGEDATA u3:title="B8" src="file:///C:/DOCUME~1/sxj1/LOCALS~1/Temp/msoclip1/01/clip_image001.png"><img
border=0 width=553 height=416 id="_x0000_i1034"
src="http://www.runmcu.com/Article/UploadFiles/200509/20050902105811381.jpg"
u5:shapes="_x0000_i1025"></span></p>
</u2:IMAGEDATA></u2:SHAPE>
<p class=MsoNormal align=center style='mso-margin-top-alt:auto;mso-margin-bottom-alt:
auto;text-align:center;word-break:break-all'><span style='mso-ascii-font-family:
"Times New Roman";mso-hansi-font-family:"Times New Roman"'>图</span><span
lang=EN-US>4.10.1</span></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
margin-left:18.0pt;text-indent:-18.0pt;tab-stops:list 18.0pt;word-break:break-all'><b
style='mso-bidi-font-weight:normal'><i style='mso-bidi-font-style:normal'><span
lang=EN-US style='font-family:幼圆'>3</span></i></b><b style='mso-bidi-font-weight:
normal'><i style='mso-bidi-font-style:normal'><span style='font-family:幼圆'>.</span></i></b><b
style='mso-bidi-font-weight:normal'><i style='mso-bidi-font-style:normal'><span
style='font-size:7.0pt;font-family:"Times New Roman";mso-fareast-font-family:
幼圆'> </span></i></b><b style='mso-bidi-font-weight:normal'><i
style='mso-bidi-font-style:normal'><span style='font-family:幼圆'>系统板上硬件连线<u1:P>
</span></i></b><span lang=EN-US></u1:P></span></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
margin-left:36.0pt;text-indent:-36.0pt;tab-stops:list 36.0pt;word-break:break-all'><span
style='mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:"Times New Roman"'>(</span><span
lang=EN-US style='font-family:"Times New Roman";mso-bidi-font-family:宋体'>1</span><span
style='mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:"Times New Roman"'>.</span><span
lang=EN-US style='font-size:7.0pt;font-family:"Times New Roman"'>
</span><span style='mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:
"Times New Roman"'>把“单片机系统”区域中的</span><span lang=EN-US>P0.0/AD0</span><span
style='mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:"Times New Roman"'>-</span><span
lang=EN-US>P0.7/AD7</span><span style='mso-ascii-font-family:"Times New Roman";
mso-hansi-font-family:"Times New Roman"'>端口用</span><span lang=EN-US>8</span><span
style='mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:"Times New Roman"'>芯排线连接到“四路静态数码显示模块”区域中的任一个</span><span
lang=EN-US>a</span><span style='mso-ascii-font-family:"Times New Roman";
mso-hansi-font-family:"Times New Roman"'>-</span><span lang=EN-US>h</span><span
style='mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:"Times New Roman"'>端口上;要求:</span><span
lang=EN-US>P0.0/AD0</span><span style='mso-ascii-font-family:"Times New Roman";
mso-hansi-font-family:"Times New Roman"'>对应着</span><span lang=EN-US>a</span><span
style='mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:"Times New Roman"'>,</span><span
lang=EN-US>P0.1/AD1</span><span style='mso-ascii-font-family:"Times New Roman";
mso-hansi-font-family:"Times New Roman"'>对应着</span><span lang=EN-US>b</span><span
style='mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:"Times New Roman"'>,</span>……<span
style='mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:"Times New Roman"'>,</span><span
lang=EN-US>P0.7/AD7</span><span style='mso-ascii-font-family:"Times New Roman";
mso-hansi-font-family:"Times New Roman"'>对应着</span><span lang=EN-US>h</span><span
style='mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:"Times New Roman"'>。</span></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
margin-left:36.0pt;text-indent:-36.0pt;tab-stops:list 36.0pt;word-break:break-all'><span
style='mso-bidi-font-size:10.5pt;mso-ascii-font-family:"Times New Roman";
mso-hansi-font-family:"Times New Roman"'>(</span><span lang=EN-US
style='mso-bidi-font-size:10.5pt;font-family:"Times New Roman";mso-bidi-font-family:
宋体'>2</span><span style='mso-bidi-font-size:10.5pt;mso-ascii-font-family:
"Times New Roman";mso-hansi-font-family:"Times New Roman"'>.</span><span
lang=EN-US style='font-size:7.0pt;font-family:"Times New Roman"'>
</span><span style='mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:
"Times New Roman"'>把“单片机系统”区域中的</span><span lang=EN-US>P2.0/A8</span><span
style='mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:"Times New Roman"'>-</span><span
lang=EN-US>P2.7/A15</span><span style='mso-ascii-font-family:"Times New Roman";
mso-hansi-font-family:"Times New Roman"'>端口用</span><span lang=EN-US>8</span><span
style='mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:"Times New Roman"'>芯排线连接到“四路静态数码显示模块”区域中的任一个数码管的</span><span
lang=EN-US>a</span><span style='mso-ascii-font-family:"Times New Roman";
mso-hansi-font-family:"Times New Roman"'>-</span><span lang=EN-US>h</span><span
style='mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:"Times New Roman"'>端口上;</span><span
style='mso-bidi-font-size:10.5pt'><u1:P> </span><span lang=EN-US></u1:P></span></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
margin-left:36.0pt;text-indent:-36.0pt;tab-stops:list 36.0pt;word-break:break-all'><span
style='mso-bidi-font-size:10.5pt;mso-ascii-font-family:"Times New Roman";
mso-hansi-font-family:"Times New Roman"'>(</span><span lang=EN-US
style='mso-bidi-font-size:10.5pt;font-family:"Times New Roman";mso-bidi-font-family:
宋体'>3</span><span style='mso-bidi-font-size:10.5pt;mso-ascii-font-family:
"Times New Roman";mso-hansi-font-family:"Times New Roman"'>.</span><span
lang=EN-US style='font-size:7.0pt;font-family:"Times New Roman"'>
</span><span style='mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:
"Times New Roman"'>把“单片机系统”区域中的</span><span lang=EN-US>P3.7/RD</span><span
style='mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:"Times New Roman"'>端口用导线连接到“独立式键盘”区域中的</span><span
lang=EN-US>SP1</span><span style='mso-ascii-font-family:"Times New Roman";
mso-hansi-font-family:"Times New Roman"'>端口上;</span><span style='mso-bidi-font-size:
10.5pt'><u1:P> </span><span lang=EN-US></u1:P></span></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
margin-left:18.0pt;text-indent:-18.0pt;tab-stops:list 18.0pt;word-break:break-all'><b
style='mso-bidi-font-weight:normal'><i style='mso-bidi-font-style:normal'><span
lang=EN-US style='font-family:幼圆'>4</span></i></b><b style='mso-bidi-font-weight:
normal'><i style='mso-bidi-font-style:normal'><span style='font-family:幼圆'>.</span></i></b><b
style='mso-bidi-font-weight:normal'><i style='mso-bidi-font-style:normal'><span
style='font-size:7.0pt;font-family:"Times New Roman";mso-fareast-font-family:
幼圆'> </span></i></b><b style='mso-bidi-font-weight:normal'><i
style='mso-bidi-font-style:normal'><span style='font-family:幼圆'>程序设计内容<u1:P> </span></i></b><span
lang=EN-US></u1:P></span></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
margin-left:36.0pt;text-indent:-36.0pt;tab-stops:list 36.0pt;word-break:break-all'><span
style='mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:"Times New Roman"'>(</span><span
lang=EN-US style='font-family:"Times New Roman";mso-bidi-font-family:宋体'>1</span><span
style='mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:"Times New Roman"'>.</span><span
lang=EN-US style='font-size:7.0pt;font-family:"Times New Roman"'>
</span><span style='mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:
"Times New Roman"'>单片机对按键的识别的过程处理</span></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
margin-left:36.0pt;text-indent:-36.0pt;tab-stops:list 36.0pt;word-break:break-all'><span
style='mso-bidi-font-size:10.5pt;mso-ascii-font-family:"Times New Roman";
mso-hansi-font-family:"Times New Roman"'>(</span><span lang=EN-US
style='mso-bidi-font-size:10.5pt;font-family:"Times New Roman";mso-bidi-font-family:
宋体'>2</span><span style='mso-bidi-font-size:10.5pt;mso-ascii-font-family:
"Times New Roman";mso-hansi-font-family:"Times New Roman"'>.</span><span
lang=EN-US style='font-size:7.0pt;font-family:"Times New Roman"'>
</span><span style='mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:
"Times New Roman"'>单片机对正确识别的按键进行计数,计数满时,又从零开始计数;</span><span
style='mso-bidi-font-size:10.5pt'><u1:P> </span><span lang=EN-US></u1:P></span></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
margin-left:36.0pt;text-indent:-36.0pt;tab-stops:list 36.0pt;word-break:break-all'><span
style='mso-bidi-font-size:10.5pt;mso-ascii-font-family:"Times New Roman";
mso-hansi-font-family:"Times New Roman"'>(</span><span lang=EN-US
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -