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

📄 点阵式汉字led显示屏的原理与制作.htm

📁 包含大量程序:AD转换类
💻 HTM
📖 第 1 页 / 共 5 页
字号:
      style="mso-spacerun: yes">&nbsp; </SPAN>00H</FONT></SPAN></P>
      <P class=MsoNormal><FONT color=#272727 font><SPAN lang=EN-US>LOOP: MOV 
      A,#0FFH </SPAN><SPAN 
      style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">;开机初始化,清除画面</SPAN></FONT></P>
      <P class=MsoNormal style="TEXT-INDENT: 37.5pt"><SPAN lang=EN-US><FONT 
      color=#272727 font>MOV P0,A<SPAN 
      style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN></FONT></SPAN><FONT 
      color=#272727 font><SPAN 
      style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">;清除</SPAN><SPAN 
      lang=EN-US>P0</SPAN><SPAN 
      style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">口</SPAN></FONT></P>
      <P class=MsoNormal><SPAN lang=EN-US><SPAN style="mso-spacerun: yes"><FONT 
      color=#272727 font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
      </FONT></SPAN><FONT color=#272727 font>ANL P2,#00<SPAN 
      style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN></FONT></SPAN><FONT 
      color=#272727 font><SPAN 
      style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">;清除</SPAN><SPAN 
      lang=EN-US>P2</SPAN><SPAN 
      style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">口</SPAN></FONT></P>
      <P class=MsoNormal style="TEXT-INDENT: 37.5pt"><SPAN lang=EN-US><FONT 
      color=#272727 font>MOV R2,#200<SPAN 
      style="mso-spacerun: yes">&nbsp;&nbsp;</SPAN></FONT></SPAN></P>
      <P class=MsoNormal style="TEXT-INDENT: 37.5pt"><SPAN lang=EN-US><FONT 
      color=#272727 font>D100MS: MOV R3,#250 </FONT></SPAN><FONT color=#272727 
      font><SPAN 
      style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">;延时</SPAN><SPAN 
      lang=EN-US>100</SPAN><SPAN 
      style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">毫秒</SPAN></FONT></P>
      <P class=MsoNormal><SPAN lang=EN-US><SPAN style="mso-spacerun: yes"><FONT 
      color=#272727 font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
      </FONT></SPAN><FONT color=#272727 font>DJNZ R3,$</FONT></SPAN></P>
      <P class=MsoNormal><SPAN lang=EN-US><SPAN style="mso-spacerun: yes"><FONT 
      color=#272727 font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
      </FONT></SPAN><FONT color=#272727 font>DJNZ R2,D100MS</FONT></SPAN></P>
      <P class=MsoNormal><SPAN lang=EN-US><SPAN style="mso-spacerun: yes"><FONT 
      color=#272727 font>&nbsp;&nbsp;&nbsp;&nbsp; 
      &nbsp;&nbsp;</FONT></SPAN><FONT color=#272727 font>MOV 20H,#00H 
      </FONT></SPAN><FONT color=#272727 font><SPAN 
      style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">;取码指针的初值</SPAN></FONT></P>
      <P class=MsoNormal><SPAN lang=EN-US><FONT color=#272727 font>l100:<SPAN 
      style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>MOV R1,#100 
      </FONT></SPAN><FONT color=#272727 font><SPAN 
      style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">;每个字的停留时间</SPAN></FONT></P>
      <P class=MsoNormal><SPAN lang=EN-US><FONT color=#272727 font>L16:<SPAN 
      style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>MOV R6,#16 
      </FONT></SPAN><FONT color=#272727 font><SPAN 
      style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">;每个字</SPAN><SPAN 
      lang=EN-US>16</SPAN><SPAN 
      style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">个码</SPAN></FONT></P>
      <P class=MsoNormal><SPAN lang=EN-US><SPAN style="mso-spacerun: yes"><FONT 
      color=#272727 font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
      </FONT></SPAN><FONT color=#272727 font>MOV R4,#00H </FONT></SPAN><FONT 
      color=#272727 font><SPAN 
      style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">;扫描指针清零</SPAN></FONT></P>
      <P class=MsoNormal><SPAN lang=EN-US><SPAN style="mso-spacerun: yes"><FONT 
      color=#272727 font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
      </FONT></SPAN><FONT color=#272727 font>MOV R0,20H </FONT></SPAN><FONT 
      color=#272727 font><SPAN 
      style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">;取码指针存入</SPAN><SPAN 
      lang=EN-US>R0</SPAN></FONT></P>
      <P class=MsoNormal><FONT color=#272727 font><SPAN lang=EN-US>L3:<SPAN 
      style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>MOV A,R4<SPAN 
      style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN></SPAN><SPAN 
      style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">;扫描指针存入</SPAN><SPAN 
      lang=EN-US>A</SPAN></FONT></P>
      <P class=MsoNormal><SPAN lang=EN-US><SPAN style="mso-spacerun: yes"><FONT 
      color=#272727 font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
      </FONT></SPAN><FONT color=#272727 font>MOV P1,A<SPAN 
      style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN></FONT></SPAN><FONT 
      color=#272727 font><SPAN 
      style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">;扫描输出</SPAN></FONT></P>
      <P class=MsoNormal><SPAN lang=EN-US><SPAN style="mso-spacerun: yes"><FONT 
      color=#272727 font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
      </FONT></SPAN><FONT color=#272727 font>INC R4<SPAN 
      style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
      </SPAN></FONT></SPAN><FONT color=#272727 font><SPAN 
      style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">;扫描指针加</SPAN><SPAN 
      lang=EN-US>1</SPAN><SPAN 
      style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">,扫描下一个</SPAN></FONT></P>
      <P class=MsoNormal><SPAN lang=EN-US><SPAN style="mso-spacerun: yes"><FONT 
      color=#272727 font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
      </FONT></SPAN><FONT color=#272727 font>MOV A,R0<SPAN 
      style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN></FONT></SPAN><FONT 
      color=#272727 font><SPAN 
      style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">;</SPAN> 
      <SPAN 
      style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">取码指针存入</SPAN><SPAN 
      lang=EN-US>A</SPAN></FONT></P>
      <P class=MsoNormal><SPAN lang=EN-US><SPAN style="mso-spacerun: yes"><FONT 
      color=#272727 font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
      &nbsp;</FONT></SPAN><FONT color=#272727 font>MOV DPTR,#TABLE 
      </FONT></SPAN><FONT color=#272727 font><SPAN 
      style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">;取数据表的上半部分的代码</SPAN></FONT></P>
      <P class=MsoNormal><SPAN lang=EN-US><SPAN style="mso-spacerun: yes"><FONT 
      color=#272727 font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
      </FONT></SPAN><FONT color=#272727 font>MOVC A,@A+DPTR</FONT></SPAN></P>
      <P class=MsoNormal><SPAN lang=EN-US><SPAN style="mso-spacerun: yes"><FONT 
      color=#272727 font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
      </FONT></SPAN><FONT color=#272727 font>MOV P0,A<SPAN 
      style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN></FONT></SPAN><FONT 
      color=#272727 font><SPAN 
      style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">;</SPAN> 
      <SPAN 
      style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">输出到</SPAN><SPAN 
      lang=EN-US>P0</SPAN></FONT></P>
      <P class=MsoNormal><SPAN lang=EN-US><SPAN style="mso-spacerun: yes"><FONT 
      color=#272727 font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
      </FONT></SPAN><FONT color=#272727 font>INC R0<SPAN 
      style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
      </SPAN></FONT></SPAN><FONT color=#272727 font><SPAN 
      style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">;取码指针加</SPAN><SPAN 
      lang=EN-US>1</SPAN><SPAN 
      style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">,取下一个码。</SPAN></FONT></P>
      <P class=MsoNormal><SPAN lang=EN-US><SPAN style="mso-spacerun: yes"><FONT 
      color=#272727 font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
      </FONT></SPAN><FONT color=#272727 font>MOV A,R0</FONT></SPAN></P>
      <P class=MsoNormal><SPAN lang=EN-US><SPAN style="mso-spacerun: yes"><FONT 
      color=#272727 font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
      </FONT></SPAN><FONT color=#272727 font>MOV DPTR,#TABLE </FONT></SPAN><FONT 
      color=#272727 font><SPAN 
      style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">;取数据表下半部份的代码</SPAN></FONT></P>
      <P class=MsoNormal><SPAN lang=EN-US><SPAN style="mso-spacerun: yes"><FONT 
      color=#272727 font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
      </FONT></SPAN><FONT color=#272727 font>MOVC A,@A+DPTR</FONT></SPAN></P>
      <P class=MsoNormal><SPAN lang=EN-US><SPAN style="mso-spacerun: yes"><FONT 
      color=#272727 font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
      </FONT></SPAN><FONT color=#272727 font>MOV P2,A<SPAN 
      style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
      </SPAN></FONT></SPAN><FONT color=#272727 font><SPAN 
      style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">;输出到</SPAN><SPAN 
      lang=EN-US>P2</SPAN><SPAN 
      style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">口</SPAN></FONT></P>
      <P class=MsoNormal><SPAN lang=EN-US><SPAN style="mso-spacerun: yes"><FONT 
      color=#272727 font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
      </FONT></SPAN><FONT color=#272727 font>INC R0</FONT></SPAN></P>
      <P class=MsoNormal style="TEXT-INDENT: 37.5pt"><FONT color=#272727 
      font><SPAN lang=EN-US>MOV R3,#02<SPAN 
      style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
      </SPAN></SPAN><SPAN 
      style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">;扫描</SPAN><SPAN 
      lang=EN-US>1</SPAN><SPAN 
      style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">毫秒</SPAN></FONT></P>
      <P class=MsoNormal><SPAN lang=EN-US><FONT color=#272727 font>DELAY2:<SPAN 
      style="mso-spacerun: yes">&nbsp; </SPAN>MOV R5,#248<SPAN 
      style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN></FONT></SPAN><FONT 
      color=#272727 font><SPAN 
      style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">;</SPAN></FONT></P>
      <P class=MsoNormal><SPAN lang=EN-US><SPAN style="mso-spacerun: yes"><FONT 
      color=#272727 font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
      </FONT></SPAN><FONT color=#272727 font>DJNZ R5,$</FONT></SPAN></P>
      <P class=MsoNormal><SPAN lang=EN-US><SPAN style="mso-spacerun: yes"><FONT 
      color=#272727 font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
      </FONT></SPAN><FONT color=#272727 font>DJNZ R3,DELAY2</FONT></SPAN></P>

⌨️ 快捷键说明

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