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

📄 单片机坐标用8051控制报警产生实例.htm

📁 http://www.edacn.net/cgi-bin/forums.cgi?forum=7&topic=9127下,则R3~R0的输出信号中会有一个为1,但我们还是是无法确定哪一个键被按下,必須要
💻 HTM
📖 第 1 页 / 共 3 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0038)http://www.mcuzb.com/XXLR1.ASP?ID=5430 -->
<!--显示文章具体内容时加在最前面--><HTML xmlns:o = "urn:schemas-microsoft-com:office:office" 
xmlns:st1 = "urn:schemas-microsoft-com:office:smarttags"><HEAD><TITLE>单片机坐标用8051控制报警产生实例</TITLE>
<META content="本站用,卓越网站快车,建设,www.zydn.net<P><B style=" name=keywords normal? 
mso-bidi-font-weight:><S">
<META http-equiv=Content-Language content=zh-cn>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<META content=FrontPage.Editor.Document name=ProgId><LINK 
href="单片机坐标用8051控制报警产生实例.files/index1.css" type=text/css rel=STYLESHEET>
<SCRIPT language=javascript>
function newie()
{
 var newWindow;
 newWindow=window.open('','content','toolbar=no,location=no,directories=NO,status=NO,menubar=NO,scrollbars=yes,resizable=yes,top=10,left=10,width=770,height=450');
 
 newWindow.focus();
}
 </SCRIPT>
</HEAD>
<BODY vLink=#000000 link=#000000 bgColor=#ffffff leftMargin=0 topMargin=0 
rightMargin=100 gcolor="#FFFFFF">
<DIV align=center>
<CENTER>
<TABLE cellSpacing=0 cellPadding=0 width="100%">
  <TBODY>
  <TR>
    <TD style="BACKGROUND-POSITION: right top; BACKGROUND-REPEAT: repeat-y" 
    width="50%" background=单片机坐标用8051控制报警产生实例.files/bg_1.jpg></TD>
    <TD align=middle><!---以上的是边框--->
      <TABLE id=table1 cellSpacing=0 cellPadding=0 width=766 border=0>
        <TBODY>
        <TR>
          <TD width=70><IMG height=60 src="单片机坐标用8051控制报警产生实例.files/logo2.gif" 
            width=180 border=0></TD>
          <TD align=middle><IMG height=87 
            src="单片机坐标用8051控制报警产生实例.files/bit.gif" width=514 border=0></TD>
          <TD width=95><MAP name=FPMap0><AREA shape=RECT coords=9,20,60,31 
              href="http://www.mcuzb.com/system/user/userlist1.asp"><AREA 
              shape=RECT coords=9,46,61,58 
              href="http://www.mcuzb.com/system/user/myly.asp"><AREA shape=RECT 
              coords=12,72,60,84 href="http://www.mcuzb.com/dh.asp"></MAP><IMG 
            height=96 src="单片机坐标用8051控制报警产生实例.files/mb_4.jpg" width=70 
            useMap=#FPMap0 border=0></TD></TR></TBODY></TABLE>
      <TABLE id=table2 cellSpacing=0 cellPadding=0 width=766 border=0>
        <TBODY>
        <TR>
          <TD background=单片机坐标用8051控制报警产生实例.files/dh.jpg height=28>
            <TABLE height=56 cellSpacing=0 cellPadding=0 width="100%">
              <TBODY>
              <TR>
                <TD vAlign=bottom align=middle height=27><FONT 
                  style="FONT-SIZE: 9pt" color=#ff0000>→</FONT><A 
                  href="http://www.mcuzb.com/INDEX.ASP"><FONT 
                  style="FONT-SIZE: 9pt">首页</FONT></A><FONT 
                  style="FONT-SIZE: 9pt" color=#ff0000>←</FONT></TD>
                <TD vAlign=bottom align=middle height=27><FONT 
                  style="FONT-SIZE: 9pt" color=#ff0000>→</FONT><A 
                  href="http://www.mcuzb.com/flmen.asp?menuid=358"><FONT 
                  style="FONT-WEIGHT: 700; FONT-SIZE: 9pt"><FONT 
                  color=#ff00ff>单</FONT><FONT color=#808000>片</FONT><FONT 
                  color=#00ff00>机</FONT><FONT color=#ff0000>论</FONT><FONT 
                  color=#008000>坛</FONT></FONT></A><FONT style="FONT-SIZE: 9pt" 
                  color=#ff0000>←</FONT></TD>
                <TD vAlign=bottom align=middle height=27><FONT 
                  style="FONT-SIZE: 9pt" color=#ff0000>→</FONT><A 
                  href="http://www.mcuzb.com/flmen.asp?menuid=356"><FONT 
                  style="FONT-SIZE: 9pt">C51源代码(本站原创)</FONT></A><FONT 
                  style="FONT-SIZE: 9pt" color=#ff0000>←</FONT></TD>
                <TD vAlign=bottom align=middle height=27><FONT 
                  style="FONT-SIZE: 9pt" color=#ff0000>→</FONT><A 
                  href="http://www.mcuzb.com/flmen.asp?menuid=363"><FONT 
                  style="FONT-SIZE: 9pt">单片机源代码与算法</FONT></A><FONT 
                  style="FONT-SIZE: 9pt" color=#ff0000>←</FONT></TD>
                <TD vAlign=bottom align=middle height=27><FONT 
                  style="FONT-SIZE: 9pt" color=#ff0000>→</FONT><A 
                  href="http://www.mcuzb.com/flmen.asp?menuid=357"><FONT 
                  style="FONT-SIZE: 9pt">哈工大实验</FONT></A><FONT 
                  style="FONT-SIZE: 9pt" color=#ff0000>←</FONT></TD>
                <TD vAlign=bottom align=middle height=27> </TD>
                <TD vAlign=bottom align=middle height=27> </TD></TR>
              <TR>
                <TD vAlign=bottom align=middle> </TD>
                <TD vAlign=bottom align=middle> </TD>
                <TD vAlign=bottom align=middle><FONT style="FONT-SIZE: 9pt" 
                  color=#ff0000>→</FONT><A 
                  href="http://www.mcuzb.com/flmen.asp?menuid=366"><FONT 
                  style="FONT-SIZE: 9pt">单片机毕业设计论文</FONT></A><FONT 
                  style="FONT-SIZE: 9pt" color=#ff0000>←</FONT></TD>
                <TD vAlign=bottom align=middle><FONT style="FONT-SIZE: 9pt" 
                  color=#ff0000>→</FONT><A 
                  href="http://www.mcuzb.com/flmen.asp?menuid=365"><FONT 
                  style="FONT-SIZE: 9pt">CPLD专区</FONT></A><FONT 
                  style="FONT-SIZE: 9pt" color=#ff0000>←</FONT></TD>
                <TD vAlign=bottom align=middle><FONT style="FONT-SIZE: 9pt" 
                  color=#ff0000>→</FONT><A 
                  href="http://www.mcuzb.com/flmen.asp?menuid=367"><FONT 
                  style="FONT-SIZE: 9pt">单片机简单实例</FONT></A><FONT 
                  style="FONT-SIZE: 9pt" color=#ff0000>←</FONT></TD>
                <TD vAlign=bottom align=middle><FONT style="FONT-SIZE: 9pt" 
                  color=#ff0000>→</FONT><A 
                  href="http://www.mcuzb.com/flmen.asp?menuid=359"><FONT 
                  style="FONT-SIZE: 9pt">AVR单片机专栏</FONT></A><FONT 
                  style="FONT-SIZE: 9pt" color=#ff0000>←</FONT></TD>
                <TD vAlign=bottom align=middle><FONT style="FONT-SIZE: 9pt" 
                  color=#ff0000>→</FONT><A 
                  href="http://www.mcuzb.com/flmen.asp?menuid=361"><FONT 
                  style="FONT-SIZE: 9pt">电子电路设计</FONT></A><FONT 
                  style="FONT-SIZE: 9pt" 
            color=#ff0000>←</FONT></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
      <TABLE id=table3 cellSpacing=0 cellPadding=0 width=766 border=0>
        <TBODY>
        <TR>
          <TD background=单片机坐标用8051控制报警产生实例.files/images_7-1.jpg height=21>
            <MARQUEE 
scrollDelay=150><!--显示栏目的公告--></MARQUEE></TD></TR></TBODY></TABLE><!--以上是头部, 下面开始是文章内容-->
      <TABLE id=AutoNumber6 style="BORDER-COLLAPSE: collapse" 
      borderColor=#c0c0c0 cellSpacing=0 cellPadding=0 width=766 bgColor=#f9f9f9 
      border=1>
        <TBODY>
        <TR>
          <TD vAlign=top borderColor=#c0c0c0 align=middle>
            <TABLE cellSpacing=0 cellPadding=0 width=748 border=0>
              <TBODY>
              <TR>
                <TD>当前栏目:<A 
                  href="http://www.mcuzb.com/FLMEN.ASP?MENULB=059单片机简单实例&amp;MENUJB=2">单片机简单实例</A>&gt;</TD>
                <TD>
                  <TABLE cellSpacing=0 cellPadding=0 width="100%">
                    <TBODY>
                    <TR>
                      <TD></TD>
                      <TD align=right><FONT 
                        color=#888888>2005年1月28日 作者:luwenxi [<A 
                        href="http://www.mcuzb.com/xxlr.asp?menulb=059单片机简单实例&amp;menujb=2">返回</A>] 
                        </FONT></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
            <TABLE style="BORDER-COLLAPSE: collapse" borderColor=#111111 
            cellSpacing=0 cellPadding=0 width=748 border=0>
              <TBODY>
              <TR>
                <TD width=247></TD>
                <TD 
                style="BORDER-TOP: 0px solid; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px" 
                width=766></TD></TR></TBODY></TABLE>
            <TABLE height=400 cellSpacing=0 cellPadding=0 width="98%" 
            bgColor=#ffffff border=0>
              <TBODY>
              <TR>
                <TD vAlign=top background=单片机坐标用8051控制报警产生实例.files/mcuzb.htm>
                  <TABLE height=24 cellSpacing=0 cellPadding=0 width="100%" 
                  background="">
                    <TBODY>
                    <TR>
                      <TD align=middle><FONT style="FONT-SIZE: 11pt" 
                        color=#000000>用8051控制报警产生实例</FONT></TD></TR></TBODY></TABLE><BR>
                  <P><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US 
                  style="mso-fareast-font-family: 'Times New Roman'"><SPAN 
                  style="mso-list: Ignore"><FONT face="Times New Roman">1.<SPAN 
                  style="FONT: 7pt 'Times New Roman'"><FONT size=3> 
                  </FONT></SPAN></FONT></SPAN></SPAN></B><B 
                  style="mso-bidi-font-weight: normal"><SPAN 
                  style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">实验任务</SPAN><SPAN 
                  lang=EN-US><o:p></o:p></SPAN></B></P>
                  <P><SPAN 
                  style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-size: 12.0pt; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-bidi-font-family: 'Times New Roman'">用</SPAN><SPAN 
                  lang=EN-US 
                  style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: 宋体; mso-bidi-font-size: 12.0pt; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">P1.0</SPAN><SPAN 
                  style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-size: 12.0pt; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-bidi-font-family: 'Times New Roman'">输出</SPAN><SPAN 
                  lang=EN-US 
                  style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: 宋体; mso-bidi-font-size: 12.0pt; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">1KHz</SPAN><SPAN 
                  style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-size: 12.0pt; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-bidi-font-family: 'Times New Roman'">和</SPAN><SPAN 
                  lang=EN-US 
                  style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: 宋体; mso-bidi-font-size: 12.0pt; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">500Hz</SPAN><SPAN 
                  style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-size: 12.0pt; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-bidi-font-family: 'Times New Roman'">的音频信号驱动扬声器,作报警信号,要求</SPAN><SPAN 
                  lang=EN-US 
                  style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: 宋体; mso-bidi-font-size: 12.0pt; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">1KHz</SPAN><SPAN 
                  style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-size: 12.0pt; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-bidi-font-family: 'Times New Roman'">信号响</SPAN><SPAN 
                  lang=EN-US 
                  style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: 宋体; mso-bidi-font-size: 12.0pt; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">100ms</SPAN><SPAN 
                  style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-size: 12.0pt; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-bidi-font-family: 'Times New Roman'">,</SPAN><SPAN 
                  lang=EN-US 
                  style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: 宋体; mso-bidi-font-size: 12.0pt; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">500Hz</SPAN><SPAN 
                  style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-size: 12.0pt; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-bidi-font-family: 'Times New Roman'">信号响</SPAN><SPAN 
                  lang=EN-US 
                  style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: 宋体; mso-bidi-font-size: 12.0pt; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">200ms,</SPAN><SPAN 
                  style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-size: 12.0pt; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-bidi-font-family: 'Times New Roman'">交替进行,</SPAN><SPAN 
                  lang=EN-US 

⌨️ 快捷键说明

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