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

📄 汇编程序.htm

📁 遥控器程序资料很多个
💻 HTM
📖 第 1 页 / 共 5 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0046)http://www.xiaohui.net/archiver/tid-29737.html -->
<HTML><HEAD><TITLE>求助 有关电视遥控器接发命令的程序(页 1) -C/C++ 讨论区 - XiaoHui 程序员论坛</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gbk">
<META content="" name=keywords>
<META content="求助 有关电视遥控器接发命令的程序(页 1) -C/C++ 讨论区 -  请问,谁有电视遥控器接发命令的源程序,麻烦转告一下 " 
name=description><LINK href="汇编程序.files/xh.css" type=text/css rel=stylesheet>
<META content="MSHTML 6.00.2900.2180" name=GENERATOR></HEAD>
<BODY topMargin=10>
<TABLE class=tableborder cellSpacing=0 cellPadding=0 width="100%" align=center 
border=0>
  <TBODY>
  <TR>
    <TD bgColor=#ffffff><BR>
      <TABLE class=tableborder cellSpacing=1 cellPadding=4 width="98%" 
      align=center>
        <TBODY></TBODY></TABLE> <A href="http://www.xiaohui.net/archiver/">XiaoHui 
      程序员论坛</A> → <A href="http://www.xiaohui.net/archiver/fid-5.html">C/C++ 
      讨论区</A> 
      <H1>&nbsp; &nbsp;求助 有关电视遥控器接发命令的程序</H1>
      <TABLE cellSpacing=0 cellPadding=0 width="98%" align=center>
        <TBODY>
        <TR>
          <TD align=middle><BR><B>页: </B><B>[1]</B> 
      <BR><BR></TD></TR></TBODY></TABLE>
      <TABLE class=tableborder cellSpacing=1 cellPadding=4 width="98%" 
      align=center>
        <TBODY>
        <TR>
          <TD bgColor=#f8f8f8>
            <TABLE cellSpacing=0 cellPadding=0 width="100%">
              <TBODY>
              <TR>
                <TD class=bold>dyj6822</TD>
                <TD align=right>2006-7-31 02:36</TD></TR></TBODY></TABLE></TD></TR>
        <TR>
          <TD class=smalltxt bgColor=#ffffff><B>求助 
            有关电视遥控器接发命令的程序</B><BR><BR>请问,谁有电视遥控器接发命令的源程序,麻烦转告一下</TD></TR></TBODY></TABLE><BR>
      <TABLE class=tableborder cellSpacing=1 cellPadding=4 width="98%" 
      align=center>
        <TBODY>
        <TR>
          <TD bgColor=#ffffff>
            <CENTER>
            <SCRIPT type=text/javascript><!--
google_ad_client = "pub-5801877696325956";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text";
google_ad_channel ="3344543917";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "0000FF";
google_color_url = "008000";
google_color_text = "000000";
//--></SCRIPT>

            <SCRIPT src="汇编程序.files/show_ads.js" type=text/javascript>
</SCRIPT>
            </CENTER></TD></TR></TBODY></TABLE><BR>
      <TABLE class=tableborder cellSpacing=1 cellPadding=4 width="98%" 
      align=center>
        <TBODY>
        <TR>
          <TD bgColor=#f8f8f8>
            <TABLE cellSpacing=0 cellPadding=0 width="100%">
              <TBODY>
              <TR>
                <TD class=bold>keith</TD>
                <TD align=right>2006-7-31 03:56</TD></TR></TBODY></TABLE></TD></TR>
        <TR>
          <TD class=smalltxt 
        bgColor=#ffffff>去看看论坛的公告吧<BR>好好学习下这里的规矩</TD></TR></TBODY></TABLE><BR>
      <TABLE class=tableborder cellSpacing=1 cellPadding=4 width="98%" 
      align=center>
        <TBODY>
        <TR>
          <TD bgColor=#f8f8f8>
            <TABLE cellSpacing=0 cellPadding=0 width="100%">
              <TBODY>
              <TR>
                <TD class=bold>雪狼</TD>
                <TD align=right>2006-8-4 01:10</TD></TR></TBODY></TABLE></TD></TR>
        <TR>
          <TD class=smalltxt 
            bgColor=#ffffff>;引导码为5ms的高电平,10ms的低电平<BR>;P20-P24作为地址码,并作为数据串发送出去<BR>;P2.5作为扩展码<BR>;INC:0001<BR>;DEC:0010<BR>;ON:0100<BR>;OFF:1000<BR>;发射码0即低电平为0.5ms高电平,0.5ms低电平<BR>;发射码1即高电平为0.5ms高电平,1ms低电平<BR>;数据串的发送为引导码,地址码,数据码<BR>;===========================================================<BR>DEL10MS_FLAG&nbsp; 
            &nbsp; &nbsp; &nbsp; EQU&nbsp; &nbsp; &nbsp; &nbsp; 
            00H<BR>INC_FLAG&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
            &nbsp; EQU&nbsp; &nbsp; &nbsp; &nbsp; 01H<BR>DEC_FLAG&nbsp; &nbsp; 
            &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; EQU&nbsp; &nbsp; &nbsp; 
            &nbsp; 02H<BR>ON_OFF_FLAG&nbsp; &nbsp; &nbsp; &nbsp; EQU&nbsp; 
            &nbsp; &nbsp; &nbsp; 03H<BR>KEY_FLAG&nbsp; &nbsp; &nbsp; &nbsp; 
            &nbsp; &nbsp; &nbsp; &nbsp; EQU&nbsp; &nbsp; &nbsp; &nbsp; 
            04H<BR>ACC_BUFF&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
            &nbsp; EQU&nbsp; &nbsp; &nbsp; &nbsp; 05H<BR>PFLAG_BUFF&nbsp; &nbsp; 
            &nbsp; &nbsp; EQU&nbsp; &nbsp; &nbsp; &nbsp; 06H<BR>BIBI_BUFF&nbsp; 
            &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; EQU&nbsp; &nbsp; 
            &nbsp; &nbsp; 07H<BR>KEYON_FLAG&nbsp; &nbsp; &nbsp; &nbsp; EQU&nbsp; 
            &nbsp; &nbsp; &nbsp; 08H<BR>DEL500US_BUFF&nbsp; &nbsp; &nbsp; &nbsp; 
            EQU&nbsp; &nbsp; &nbsp; &nbsp; 09H<BR>SEND_INC_BUFF&nbsp; &nbsp; 
            &nbsp; &nbsp; EQU&nbsp; &nbsp; &nbsp; &nbsp; 
            0AH<BR>SEND_DEC_BUFF&nbsp; &nbsp; &nbsp; &nbsp; EQU&nbsp; &nbsp; 
            &nbsp; &nbsp; 0BH<BR>SEND_ON_BUFF&nbsp; &nbsp; &nbsp; &nbsp; 
            EQU&nbsp; &nbsp; &nbsp; &nbsp; 0CH<BR>SEND_OFF_BUFF&nbsp; &nbsp; 
            &nbsp; &nbsp; EQU&nbsp; &nbsp; &nbsp; &nbsp; 0DH<BR>SEND_BUFF &nbsp; 
            &nbsp; &nbsp; &nbsp; EQU&nbsp; &nbsp; &nbsp; &nbsp; 
            0EH<BR>P2_BUFF&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
            &nbsp; EQU&nbsp; &nbsp; &nbsp; &nbsp; 0FH<BR>P2_BUFF_RAM&nbsp; 
            &nbsp; &nbsp; &nbsp; EQU&nbsp; &nbsp; &nbsp; &nbsp; 
            10H<BR>DEL500US_HIGH_BUFF&nbsp; &nbsp; &nbsp; &nbsp; EQU&nbsp; 
            &nbsp; &nbsp; &nbsp; 
            11H<BR>;=========================================<BR>CHIP&nbsp; 
            &nbsp; &nbsp; &nbsp; SN8P2501A<BR>//{{SONIX_CODE_OPTION<BR>&nbsp; 
            &nbsp; &nbsp; &nbsp; .Code_Option&nbsp; &nbsp; &nbsp; &nbsp; 
            Noise_Filter&nbsp; &nbsp; &nbsp; &nbsp; Enable<BR>&nbsp; &nbsp; 
            &nbsp; &nbsp; .Code_Option&nbsp; &nbsp; &nbsp; &nbsp; 
            Watch_Dog&nbsp; &nbsp; &nbsp; &nbsp; Enable&nbsp; &nbsp; &nbsp; 
            &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ; Normal mode: Enable Watchdog 
            Green and Sleep mode: Stop Watchdog<BR>&nbsp; &nbsp; &nbsp; &nbsp; 
            .Code_Option&nbsp; &nbsp; &nbsp; &nbsp; 16M_IHRC&nbsp; &nbsp; &nbsp; 
            &nbsp; #6&nbsp; &nbsp;&nbsp;&nbsp;; 16M_IHRC = Normal<BR>&nbsp; 
            &nbsp; &nbsp; &nbsp; .Code_Option&nbsp; &nbsp; &nbsp; &nbsp; 
            Reset_Pin&nbsp; &nbsp; &nbsp; &nbsp; P11<BR>&nbsp; &nbsp; &nbsp; 
            &nbsp; .Code_Option&nbsp; &nbsp; &nbsp; &nbsp; High_Clk&nbsp; &nbsp; 
            &nbsp; &nbsp; IHRC_16M&nbsp; &nbsp; &nbsp; &nbsp; ; Internal 16M RC 
            Oscillator<BR>&nbsp; &nbsp; &nbsp; &nbsp; .Code_Option&nbsp; &nbsp; 
            &nbsp; &nbsp; Fcpu&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
            &nbsp; #5&nbsp; &nbsp;&nbsp;&nbsp;; Fcpu = High_Clk/16<BR>&nbsp; 
            &nbsp; &nbsp; &nbsp; .Code_Option&nbsp; &nbsp; &nbsp; &nbsp; 
            Security&nbsp; &nbsp; &nbsp; &nbsp; 
            Enable<BR>//}}SONIX_CODE_OPTION<BR>;=================================================<BR>&nbsp; 
            &nbsp; &nbsp; &nbsp; ORG&nbsp; &nbsp; &nbsp; &nbsp; 0X00<BR>&nbsp; 
            &nbsp; &nbsp; &nbsp; JMP&nbsp; &nbsp; &nbsp; &nbsp; START<BR>&nbsp; 
            &nbsp; &nbsp; &nbsp; ORG&nbsp; &nbsp; &nbsp; &nbsp; 0X08<BR>&nbsp; 
            &nbsp; &nbsp; &nbsp; JMP&nbsp; &nbsp; &nbsp; &nbsp; 
            INTERRUPT<BR>;==========================================<BR>INTERRUPT:<BR>&nbsp; 
            &nbsp; &nbsp; &nbsp; B0XCH&nbsp; &nbsp; &nbsp; &nbsp; 
            A,ACC_BUFF<BR>&nbsp; &nbsp; &nbsp; &nbsp; B0MOV&nbsp; &nbsp; &nbsp; 
            &nbsp; A,PFLAG<BR>&nbsp; &nbsp; &nbsp; &nbsp; B0MOV&nbsp; &nbsp; 
            &nbsp; &nbsp; PFLAG_BUFF,A<BR>&nbsp; &nbsp; &nbsp; &nbsp; <BR>&nbsp; 
            &nbsp; &nbsp; &nbsp; B0BTS1&nbsp; &nbsp; &nbsp; &nbsp; 
            FT0IRQ<BR>&nbsp; &nbsp; &nbsp; &nbsp; JMP&nbsp; &nbsp; &nbsp; &nbsp; 
            INTERRUPT_RET<BR>&nbsp; &nbsp; &nbsp; &nbsp; B0BSET&nbsp; &nbsp; 
            &nbsp; &nbsp; DEL10MS_FLAG.0<BR>&nbsp; &nbsp; &nbsp; &nbsp; 
            <BR>&nbsp; &nbsp; &nbsp; &nbsp; B0BTS1&nbsp; &nbsp; &nbsp; &nbsp; 
            KEYON_FLAG.0<BR>&nbsp; &nbsp; &nbsp; &nbsp; JMP&nbsp; &nbsp; &nbsp; 
            &nbsp; INTERRUPT_RET<BR>&nbsp; &nbsp; &nbsp; &nbsp; DECMS&nbsp; 
            &nbsp; &nbsp; &nbsp; BIBI_BUFF<BR>&nbsp; &nbsp; &nbsp; &nbsp; 
            JMP&nbsp; &nbsp; &nbsp; &nbsp; INTERRUPT_RET<BR>&nbsp; &nbsp; &nbsp; 
            &nbsp; MOV&nbsp; &nbsp; &nbsp; &nbsp; A,#10<BR>&nbsp; &nbsp; &nbsp; 
            &nbsp; B0MOV&nbsp; &nbsp; &nbsp; &nbsp; BIBI_BUFF,A<BR>&nbsp; &nbsp; 
            &nbsp; &nbsp; B0BCLR&nbsp; &nbsp; &nbsp; &nbsp; 
            KEYON_FLAG.0<BR>&nbsp; &nbsp; &nbsp; &nbsp; <BR>&nbsp; &nbsp; &nbsp; 
            &nbsp; B0BCLR&nbsp; &nbsp; &nbsp; &nbsp; FTC0OUT<BR>&nbsp; &nbsp; 
            &nbsp; &nbsp; B0BCLR&nbsp; &nbsp; &nbsp; &nbsp; FALOAD0<BR>&nbsp; 
            &nbsp; &nbsp; &nbsp; B0BCLR&nbsp; &nbsp; &nbsp; &nbsp; 
            FTC0ENB<BR>&nbsp; &nbsp; &nbsp; &nbsp; <BR>&nbsp; &nbsp; &nbsp; 
            &nbsp; <BR>&nbsp; &nbsp; &nbsp; &nbsp; <BR>&nbsp; &nbsp; &nbsp; 
            &nbsp; <BR>INTERRUPT_RET:<BR>&nbsp; &nbsp; &nbsp; &nbsp; 
            B0BCLR&nbsp; &nbsp; &nbsp; &nbsp; FT0IRQ<BR>&nbsp; &nbsp; &nbsp; 
            &nbsp; MOV&nbsp; &nbsp; &nbsp; &nbsp; A,#216<BR>&nbsp; &nbsp; &nbsp; 
            &nbsp; B0MOV&nbsp; &nbsp; &nbsp; &nbsp; T0C,A<BR>&nbsp; &nbsp; 
            &nbsp; &nbsp; <BR>&nbsp; &nbsp; &nbsp; &nbsp; B0MOV&nbsp; &nbsp; 
            &nbsp; &nbsp; A,PFLAG_BUFF<BR>&nbsp; &nbsp; &nbsp; &nbsp; 
            B0MOV&nbsp; &nbsp; &nbsp; &nbsp; PFLAG,A<BR>&nbsp; &nbsp; &nbsp; 
            &nbsp; B0XCH&nbsp; &nbsp; &nbsp; &nbsp; A,ACC_BUFF<BR>&nbsp; &nbsp; 
            &nbsp; &nbsp; 
            RETI<BR>;========================================================<BR>START:<BR>&nbsp; 
            &nbsp; &nbsp; &nbsp; MOV &nbsp; &nbsp; &nbsp; &nbsp; A,#07FH&nbsp; 
            &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <BR>&nbsp; 
            &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; B0MOV &nbsp; &nbsp; &nbsp; &nbsp; 
            STKP,A&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
            &nbsp; &nbsp; &nbsp; <BR>&nbsp; &nbsp; &nbsp; &nbsp; CLR&nbsp; 
            &nbsp; &nbsp; &nbsp; PFLAG&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
            &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 

⌨️ 快捷键说明

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