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

📄 并行口直接驱动led显示.htm

📁 利用 AT89S51 单片机的 P0 端口的 P0.0 - P0.7 连接到一个共阴数码管的 a - h 的笔段上
💻 HTM
📖 第 1 页 / 共 3 页
字号:
<P><IMG src="http://blog.21ic.org/images/emot/face8.gif">&nbsp;<A href="http://www.21ic.com/">21IC&nbsp;</A><IMG src="http://blog.21ic.org/images/emot/face12.gif">&nbsp;<A href="http://kucun.21ic.com" target=_blank>买片寻价</A></P></DIV></TD></TR></TBODY></TABLE><br> <A title=海涛的笔记 href="blog.asp?name=gooker" target=_blank><IMG style="BORDER-LEFT-COLOR: #000000; BORDER-BOTTOM-COLOR: #000000; BORDER-TOP-COLOR: #000000; BORDER-RIGHT-COLOR: #000000" src="uploadfile-/2005611171514135.gif" border=0></A> 
<P><A title=技术裸体写真 href="http://lasy.21ic.org/" target=_blank><IMG style="BORDER-LEFT-COLOR: #000000; BORDER-BOTTOM-COLOR: #000000; BORDER-TOP-COLOR: #000000; BORDER-RIGHT-COLOR: #000000" src="uploadfile-/2005660314820.gif" border=0></A></P>
<P><A title=新潮电子 href="blog.asp?name=ywzj21"><IMG style="BORDER-LEFT-COLOR: #000000; BORDER-BOTTOM-COLOR: #000000; WIDTH: 93px; BORDER-TOP-COLOR: #000000; HEIGHT: 31px; BORDER-RIGHT-COLOR: #000000" height=31 src="http://www.cniti.com/biz/img/bizlogo.gif" width=88 border=0></A></P>
<P>[::<A href="blog.asp?name=monisfic" target=_blank>DLG学习手记</A>::]<BR>[::<A href="http://laoshu0902.blogchina.com/index.html" target=_blank>南方的老树工作室</A>::]<BR>[::<A href="blog.asp?name=lyrical" target=_blank>人在江湖漂</A>::]<BR>[::<A href="blog.asp?name=cxjr" target=_blank>匠人的百宝箱</A>::]<BR>[::<A href="http://spaces.msn.com/members/susansun0804/" target=_blank>Susan的小屋</A>::]<BR>[::<A href="blog.asp?name=songfei002" target=_blank>小飞的笔记</A>::]<BR>[::<A href="http://www.dz863.com/" target=_blank>电子先锋</A>::]<BR>[::<A href="http://www.mculib.com/" target=_blank><FONT color=#ff0033>三毛电子世界</FONT></A>::]<BR>[::<A href="blog.asp?name=suncilang" target=_blank><FONT color=#ff0000>我的DSP笔记</FONT></A>::]</P>
<P>[::<A href="more.asp?name=gooker&amp;id=660" target=_blank>征集友情连接</A>::]</P></TD></TR></TBODY></TABLE></DIV>
<P align=right><BR>&nbsp;</P></TD>
<TD style="BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid" vAlign=top align=middle width=712 ;BORDER-BOTTOM: black 1px solid><BR><FONT face=宋体 size=2>
<TABLE style="TABLE-LAYOUT: fixed; WORD-BREAK: break-all" cellSpacing=1 cellPadding=3 width="98%" bgColor=#cccccc border=0>
<TBODY>
<TR bgColor=#f8f8f8>
<TD bgColor=#e6e6e6>
<P class=style3 align=left><FONT face=宋体><a href='blog.asp?name=gooker'>首页(383)</a> <a href=blog.asp?subjectid=106&name=gooker>极酷软件(26)</a> <a href=blog.asp?subjectid=160&name=gooker>Proteus专栏(7)</a> <a href=blog.asp?subjectid=128&name=gooker>职业生涯(53)</a> <a href=blog.asp?subjectid=107&name=gooker>休闲娱乐(115)</a> <a href=blog.asp?subjectid=104&name=gooker>大史记(7)</a> <a href=blog.asp?subjectid=105&name=gooker>IT气象站(23)</a> <a href=blog.asp?subjectid=108&name=gooker>技术文章(148)</a> </FONT></P></TD></TR>
<TR bgColor=#ffffff>
<TD bgColor=#ffffff height=0>
<P align=left><SPAN class=style2><FONT face=宋体 size=2 target="_blank"><FONT color=#ff0000>[美文]</FONT> <FONT color=#ff9900>[</FONT><A href="more.asp?name=gooker&amp;id=3839"><FONT color=#ff9900>感受读书的美妙诱惑</FONT></A><FONT color=#000000><FONT color=#ff9900>]</FONT> </FONT><FONT color=#ff6600>[</FONT><A href="more.asp?name=gooker&amp;id=3842"><FONT color=#ff6600>超越完美</FONT></A><FONT color=#000000><FONT color=#ff6600>]</FONT>&nbsp;</FONT><FONT color=#ff3300>[</FONT><A href="more.asp?name=gooker&amp;id=3776"><FONT color=#ff3300>给我一支烟</FONT></A><FONT color=#000000><FONT color=#ff3300>]</FONT> </FONT><FONT color=#ff6600>[</FONT><A href="more.asp?name=gooker&amp;id=3600"><FONT color=#ff6600>有一种爱经不起等待</FONT></A><FONT color=#000000><FONT color=#ff6600>]</FONT> </FONT><FONT color=#ff9900>[</FONT><A href="more.asp?name=gooker&amp;id=3778"><FONT color=#ff9900>够坚持,成功终归是你的</FONT></A><FONT color=#ff9900>]</FONT></FONT></SPAN><SPAN class=style2><FONT face=宋体 size=2><FONT color=#ff0033><FONT color=#000000><BR><FONT color=#ff0000>[推荐]</FONT> <FONT color=#ff0000><A href="more.asp?name=gooker&amp;id=3240"><FONT color=#0099ff>[DX51传奇]</FONT></A> <FONT color=#0033ff>[</FONT><A href="more.asp?name=gooker&amp;id=1251"><FONT color=#0033ff>单片机应用编程技巧</FONT></A><FONT color=#0033ff>]</FONT>&nbsp;</FONT><FONT color=#3300ff>[</FONT><A href="more.asp?name=gooker&amp;id=1119"><FONT color=#3300ff>程序的书写规则</FONT></A><FONT color=#3300ff>]</FONT>&nbsp;<FONT color=#0033ff>[</FONT><A href="more.asp?name=gooker&amp;id=1252"><FONT color=#0033ff>一位技術管理人20年的工作經歷和感悟</FONT></A></FONT></FONT><FONT color=#0033ff>]</FONT><BR><FONT color=#ff0000>[教程]</FONT> [<A href="more.asp?name=gooker&amp;id=3168"><FONT color=#0033ff>虾米是怎样炼成的</FONT></A>]&nbsp;[<A href="more.asp?name=gooker&amp;id=1526"><FONT color=#0000ff>如何快速掌握一款新的MCU</FONT></A>]&nbsp;[<A href="more.asp?name=gooker&amp;id=1457"><FONT color=#0000ff>开发工程师人生之路</FONT></A>]&nbsp;[<A href="more.asp?name=gooker&amp;id=4067"><FONT color=#0066ff>年轻工程师如何锻炼成高手的</FONT></A>]</SPAN></P></FONT></TD></TR>
<TR>
<TD id="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 一个人的成就的大小,最关键的是你能否,时刻让你的心保持平静。如果你拥有一颗时时刻刻都能使你平静的心灵,那么在人生的漫漫旅途中你就不会再有迷茫,你会听到你内心的声音,会了解自己最需要的是什么!当一个人真正了解自己的人生需要的是什么时,一切都不会成为你成功的障碍,因为你真正的需要它,就象我们需要氧气一样!平静你的心吧,它会让你找到人生的方向,它会改变你的生活。</TD></TR></TBODY></TABLE><BR>
<SCRIPT type=text/javascript><!--
google_ad_client = "pub-1121460651525858";
google_ad_width = 468;
google_ad_height = 15;
google_ad_format = "468x15_0ads_al_s";
google_ad_channel ="";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "003366";
google_color_url = "003366";
google_color_text = "000000";
//--></SCRIPT>

<SCRIPT src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type=text/javascript>
</SCRIPT>
&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;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<SCRIPT type=text/javascript><!--
google_ad_client = "pub-1121460651525858";
google_alternate_ad_url = "http://blog.21ic.org/uploadfile-/2005630185616187.gif";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text";
google_ad_channel ="";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "0000FF";
google_color_url = "008000";
google_color_text = "000000";
//--></SCRIPT>

<SCRIPT src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type=text/javascript>
</SCRIPT>
 
<META content=海涛的笔记,海涛的博客,blog,C程序,笔记,PIC单片机,中国电子网,休闲,学习,娱乐 name=key><BR>
<STYLE type=text/css>
<!--
.style4 {font-size: 12px}
body,td,th {
 font-size: 12px;
}
.style6 {font-size: 12px; color: #999999; }
.style8 {
 font-size: 12px;
 color: #223355;
 font-weight: bold;
}
-->
</STYLE>

<DIV align=right>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </DIV>
<TABLE style="TABLE-LAYOUT: fixed; WORD-BREAK: break-all" cellSpacing=1 cellPadding=3 width="98%" bgColor=#cccccc border=0>
<TBODY>
<TR bgColor=#f8f8f8>
<TD vAlign=center bgColor=#e6e6e6><SPAN class=style8><IMG height=16 src="uploadfile-/200562118842686.gif" width=13 align=absMiddle> <a href=blog.asp?name=gooker&subjectid=108>[技术文章]<a href=more.asp?name=gooker&id=5032>I/O并行口直接驱动LED显示</a></SPAN></TD></TR>
<TR bgColor=#ffffff>
<TD height=0>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD><SPAN class=style4>
<TABLE borderColor=#ffffff cellSpacing=0 width="90%" align=center border=1>
<TBODY>
<TR>
<TD>
<DIV align=center>
<P class=style24>AT89S51单片机试验及实践教程之I/O并行口直接驱动LED显示<BR><BR></P></DIV></TD></TR>
<TR>
<TD>
<P class=style25><STRONG>1. 实验任务 </STRONG></P>
<P class=style25>如图 所示, 利用 AT89S51 单片机的 P0 端口的 P0.0 - P0.7 连接到一个共阴数码管的 a - h 的笔段上,数码管的公共端接地。在数码管上循环显示 0 - 9 数字,时间间隔 0.2 秒。 </P>
<P class=style25><STRONG>2. 电路原理图 </STRONG></P>
<P class=style25><a href=http://www.tengdamc.com/download/shiyanjc/images/071.jpg target=_blank><IMG height=439 src="http://www.tengdamc.com/download/shiyanjc/images/071.jpg" width=535 border='0' title='点击在新窗口查看原始图片' onload='java_script_:if(this.width>300)this.width=300'></a></P>
<P class=style25 align=center>图 </P>
<P class=style25><STRONG>3. 系统板上硬件连线 </STRONG></P>
<P class=style25>把“单片机系统”区域中的 P0.0/AD0 - P0.7/AD7 端口用 8 芯排线连接到“四路静态数码显示模块”区域中的任一个数码管的 a - h 端口上;要求: P0.0/AD0 与 a 相连, P0.1/AD1 与 b 相连, P0.2/AD2 与 c 相连, …… , P0.7/AD7 与 h 相连。 </P>
<P class=style25><STRONG>4.&nbsp; 程序设计内容 </STRONG></P>
<P class=style25>&#8226;&nbsp; LED 数码显示原理 </P>
<P class=style25>七段 LED 显示器内部由七个条形发光二极管和一个小圆点发光二极管组成,根据各管的极管的接线形式,可分成共阴极型和共阳极型。 </P>
<P class=style25>LED 数码管的 g~a 七个发光二极管因加正电压而发亮,因加零电压而不以发亮,不同亮暗的组合就能形成不同的字形,这种组合称之为字形码,下面给出共阴极的字形码见表 2 </P>
<TABLE borderColor=#e7e7e7 cellSpacing=0 cellPadding=3 border=1>
<TBODY>
<TR>
<TD class=style25 vAlign=top width=95>
<P>“ 0 ” </P></TD>
<TD class=style25 vAlign=top width=95>
<P>3FH </P></TD>
<TD class=style25 vAlign=top width=95></TD>
<TD class=style25 vAlign=top width=95>
<P>“ 8 ” </P></TD>
<TD class=style25 vAlign=top width=95>
<P>7FH </P></TD>
<TD class=style25 vAlign=top width=95></TD></TR>
<TR>
<TD class=style25 vAlign=top width=95>
<P>“ 1 ” </P></TD>
<TD class=style25 vAlign=top width=95>
<P>06H </P></TD>
<TD class=style25 vAlign=top width=95></TD>
<TD class=style25 vAlign=top width=95>
<P>“ 9 ” </P></TD>
<TD class=style25 vAlign=top width=95>
<P>6FH </P></TD>
<TD class=style25 vAlign=top width=95></TD></TR>
<TR>
<TD class=style25 vAlign=top width=95>
<P>“ 2 ” </P></TD>
<TD class=style25 vAlign=top width=95>
<P>5BH </P></TD>
<TD class=style25 vAlign=top width=95></TD>
<TD class=style25 vAlign=top width=95>
<P>“ A ” </P></TD>
<TD class=style25 vAlign=top width=95>
<P>77H </P></TD>
<TD class=style25 vAlign=top width=95></TD></TR>
<TR>
<TD class=style25 vAlign=top width=95>
<P>“ 3 ” </P></TD>
<TD class=style25 vAlign=top width=95>
<P>4FH </P></TD>
<TD class=style25 vAlign=top width=95></TD>
<TD class=style25 vAlign=top width=95>
<P>“ b ” </P></TD>
<TD class=style25 vAlign=top width=95>
<P>7CH </P></TD>
<TD class=style25 vAlign=top width=95></TD></TR>
<TR>
<TD class=style25 vAlign=top width=95>
<P>“ 4 ” </P></TD>
<TD class=style25 vAlign=top width=95>

⌨️ 快捷键说明

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