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

📄 0802液晶屏驱动源程序.htm

📁 单片机许多原程序..........] 可以
💻 HTM
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0032)http://www.51c51.com/10/0802.htm -->
<HTML><HEAD><TITLE>0802液晶屏驱动源程序</TITLE><LINK 
href="0802液晶屏驱动源程序.files/gpszx.css" type=text/css rel=stylesheet><LINK 
href="E:\★MCS51★\1602\0802液晶屏驱动源程序.files\gpszx(1).css" type=text/css 
rel=stylesheet>
<META http-equiv=Content-Type content=text/html;charset=gb2312>
<META content="MSHTML 6.00.2900.2912" name=GENERATOR>
<META content=FrontPage.Editor.Document name=ProgId><LINK 
href="0802液晶屏驱动源程序.files/gpszx.css" type=text/css rel=stylesheet></HEAD>
<BODY>
<DIV align=center>
<CENTER>
<TABLE height=60 cellSpacing=0 cellPadding=0 width=769 bgColor=#f3f3f3 
borderColorLight=#000000 border=0>
  <TBODY>
  <TR>
    <TD align=middle width=105 bgColor=#c0d6fe height=38>
      <P style="MARGIN-TOP: -6px; MARGIN-LEFT: 0px; TEXT-INDENT: -7px" 
      align=left><SPAN lang=EN-US style="COLOR: #003366"></SPAN>&nbsp;
      <P style="MARGIN-TOP: -6px; MARGIN-LEFT: 0px; TEXT-INDENT: -7px" 
      align=left>
      <P style="MARGIN-TOP: -13px; MARGIN-LEFT: 0px; TEXT-INDENT: 1px" 
      align=left><SPAN style="BACKGROUND-COLOR: #d2e9ff"><FONT 
      color=#008000>单片机初学者网站</FONT></SPAN>
      <P style="MARGIN-TOP: -13px; MARGIN-LEFT: 0px; TEXT-INDENT: 1px" 
      align=left><SPAN style="BACKGROUND-COLOR: #d2e9ff"><FONT 
      color=#008000>电子工程师的家园</FONT></SPAN></P>
    <TD width=260 bgColor=#c0d6fe height=38><SPAN lang=EN-US><IMG 
      id=_x0000_i1028 height=75 src="0802液晶屏驱动源程序.files/T3-4.jpg" width=260 
      border=0></SPAN>
    <TD width=113 bgColor=#c0d6fe height=38><FONT color=#ff5555><IMG height=72 
      src="0802液晶屏驱动源程序.files/c34_1t4.jpg" width=102 border=0></FONT>
    <TD width=188 bgColor=#c0d6fe height=38><SPAN 
      style="BACKGROUND-POSITION: 0% 50%; BACKGROUND-ATTACHMENT: scroll; BACKGROUND-REPEAT: repeat"><FONT 
      color=#ff0000>欢迎来到<SPAN 
      lang=EN-US>51单片机学习网(深圳学林电子有限公司):</SPAN></FONT></SPAN><FONT 
      color=#ff0000>庆祝51单片机学习网(深圳学林电子有限公司)全面改版</FONT><IMG height=20 
      src="0802液晶屏驱动源程序.files/mood14.gif" width=20 border=0><IMG height=20 
      src="0802液晶屏驱动源程序.files/mood22.gif" width=20 border=0><IMG height=20 
      src="0802液晶屏驱动源程序.files/mood23.jpg" width=20 border=0><IMG height=20 
      src="0802液晶屏驱动源程序.files/mood25.gif" width=20 border=0>
    <TD align=left width=93 bgColor=#c0d6fe height=38><SPAN lang=EN-US 
      style="COLOR: #003366"><IMG id=_x0000_i1025 height=31 
      src="0802液晶屏驱动源程序.files/80.gif" width=88 border=0></SPAN>
  <TR>
    <TD width=752 background=0802液晶屏驱动源程序.files/tt.gif colSpan=5 height=22><A 
      href="http://www.51c51.com/index.htm"><FONT 
      color=#ffffff>返回主页</FONT></A><FONT color=#000000><FONT color=#ffff00><SPAN 
      style="BACKGROUND-COLOR: #009aff"><A 
      href="http://www.8951.com/BBS/index.asp"><IMG height=11 
      src="0802液晶屏驱动源程序.files/gif091.gif" width=28 
      border=0></A></SPAN></FONT><SPAN style="BACKGROUND-COLOR: #009aff"><A 
      href="http://www.8951.com/BBS/index.asp"><FONT 
      color=#ffffff>51论坛</FONT></A></SPAN></FONT><FONT color=#ffffff><A 
      href="http://www.51c51.com/jiaoxue.htm"><FONT 
      color=#ffffff>单片机教学</FONT></A></FONT><FONT color=#000000><A 
      href="http://www.51c51.com/tigao.htm">单片机提高</A></FONT><A 
      href="http://www.51c51.com/yinxiang.htm"><FONT 
      color=#ffffff>音响技术</FONT></A><FONT color=#000000><A 
      href="http://www.51c51.com/pinzhi.htm">品质技术</A></FONT><A 
      href="http://www.51c51.com/test/c51test/002.htm"><FONT 
      color=#ffffff>技术资料</FONT></A><A 
      href="http://www.51c51.com/down/down.htm"><FONT 
      color=#000000>软件下载</FONT></A><A 
      href="http://www.51c51.com/100/119.htm"><FONT color=#ffffff 
      font>音响网址</FONT></A><FONT color=#000000 font><A 
      href="http://www.51c51.com/yejin/yejin.htm">学液晶显示</A></FONT><A 
      href="http://www.51c51.com/chanpin.htm"><FONT 
      color=#ffffff>产品介绍</FONT></A><FONT color=#000000><A 
      href="http://www.51c51.com/10/huikan.htm">如何购买</A></FONT></TR></TBODY></TABLE></CENTER></DIV>
<DIV align=center>
<CENTER>
<TABLE borderColor=#f2f2f2 width=770 border=1>
  <TBODY>
  <TR>
    <TD>
      <P align=center><FONT face=黑体 color=#ff0000 
      size=4><B>0802液晶屏驱动源程序</B></FONT></P>
      <P align=left><A href="http://www.51c51.com/jpg.htm"><FONT 
      color=#000000>察看本站的产品全家福和网站介绍</FONT></A><FONT 
      color=#000000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT><A 
      href="http://www.51c51.com/200/205.htm"><SPAN lang=EN-US 
      style="BACKGROUND-POSITION: 0% 50%; BACKGROUND-ATTACHMENT: scroll; BACKGROUND-REPEAT: repeat"><FONT 
      color=#000000>本站<SPAN lang=EN-US 
      style="BACKGROUND-POSITION: 0% 50%; BACKGROUND-ATTACHMENT: scroll; BACKGROUND-REPEAT: repeat; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana">产品正式流水线工艺生产情况</SPAN></FONT></SPAN></A><FONT 
      color=#000000><SPAN lang=EN-US 
      style="BACKGROUND-POSITION: 0% 50%; BACKGROUND-ATTACHMENT: scroll; BACKGROUND-REPEAT: repeat; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
      庆祝本站3年来首页点击量突破100万!</SPAN></FONT>
      <P align=left><SPAN lang=EN-US 
      style="BACKGROUND-POSITION: 0% 50%; BACKGROUND-ATTACHMENT: scroll; BACKGROUND-REPEAT: repeat; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana"><A 
      href="http://www.8951.com/BBS/index.asp"><FONT 
      color=#000000>如果您在学习中遇到任何问题清参加51单片机学习网(深圳学林电子有限公司)论坛讨论, 
      让更多的朋友帮助你!</FONT></A></SPAN> 
      <P align=left><SPAN style="BACKGROUND-COLOR: #009aff"><FONT 
      color=#000000><A href="http://www.8951.com/BBS/index.asp"><IMG height=11 
      src="0802液晶屏驱动源程序.files/gif091.gif" width=28 
      border=0></A></FONT></SPAN><SPAN 
      style="BACKGROUND-POSITION: 0% 50%; BACKGROUND-ATTACHMENT: scroll; BACKGROUND-REPEAT: repeat; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana"><FONT 
      color=#000000><SPAN lang=EN-US 
      style="BACKGROUND-POSITION: 0% 50%; BACKGROUND-ATTACHMENT: scroll; BACKGROUND-REPEAT: repeat; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana"><A 
      href="http://www.51c51.com/10/12232.htm">12232驱动程序</A></SPAN></FONT></SPAN>&nbsp;&nbsp; 
      <FONT color=#000000><FONT color=#ffff00><SPAN 
      style="BACKGROUND-COLOR: #009aff"><A 
      href="http://www.8951.com/BBS/index.asp"><IMG height=11 
      src="0802液晶屏驱动源程序.files/gif091.gif" width=28 
      border=0></A></SPAN></FONT></FONT><SPAN 
      style="BACKGROUND-POSITION: 0% 50%; BACKGROUND-ATTACHMENT: scroll; BACKGROUND-REPEAT: repeat; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana"><FONT 
      color=#000000><SPAN lang=EN-US 
      style="BACKGROUND-POSITION: 0% 50%; BACKGROUND-ATTACHMENT: scroll; BACKGROUND-REPEAT: repeat; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana"><A 
      href="http://www.51c51.com/10/12832.htm">12832驱动程序</A>&nbsp;&nbsp; 
      </SPAN></FONT></SPAN><FONT color=#000000><FONT color=#ffff00><SPAN 
      style="BACKGROUND-COLOR: #009aff"><A 
      href="http://www.8951.com/BBS/index.asp"><IMG height=11 
      src="0802液晶屏驱动源程序.files/gif091.gif" width=28 
      border=0></A></SPAN></FONT></FONT><SPAN 
      style="BACKGROUND-POSITION: 0% 50%; BACKGROUND-ATTACHMENT: scroll; BACKGROUND-REPEAT: repeat; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana"><FONT 
      color=#000000><SPAN lang=EN-US 
      style="BACKGROUND-POSITION: 0% 50%; BACKGROUND-ATTACHMENT: scroll; BACKGROUND-REPEAT: repeat; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana"><A 
      href="http://www.51c51.com/10/12864.htm">12864驱动源程序</A>&nbsp;&nbsp; 
      </SPAN></FONT></SPAN><FONT color=#000000><FONT color=#ffff00><SPAN 
      style="BACKGROUND-COLOR: #009aff"><A 
      href="http://www.8951.com/BBS/index.asp"><IMG height=11 
      src="0802液晶屏驱动源程序.files/gif091.gif" width=28 
      border=0></A></SPAN></FONT></FONT><SPAN 
      style="BACKGROUND-POSITION: 0% 50%; BACKGROUND-ATTACHMENT: scroll; BACKGROUND-REPEAT: repeat; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana"><FONT 
      color=#000000><SPAN lang=EN-US 
      style="BACKGROUND-POSITION: 0% 50%; BACKGROUND-ATTACHMENT: scroll; BACKGROUND-REPEAT: repeat; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana"><A 
      href="http://www.51c51.com/YEJIN/1605.HTM">1602 驱动程序</A>&nbsp;&nbsp; 
      </SPAN></FONT></SPAN><FONT color=#000000><FONT color=#ffff00><SPAN 
      style="BACKGROUND-COLOR: #009aff"><A 
      href="http://www.8951.com/BBS/index.asp"><IMG height=11 
      src="0802液晶屏驱动源程序.files/gif091.gif" width=28 
      border=0></A></SPAN></FONT></FONT><SPAN 
      style="BACKGROUND-POSITION: 0% 50%; BACKGROUND-ATTACHMENT: scroll; BACKGROUND-REPEAT: repeat; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana"><FONT 
      color=#000000><SPAN lang=EN-US 
      style="BACKGROUND-POSITION: 0% 50%; BACKGROUND-ATTACHMENT: scroll; BACKGROUND-REPEAT: repeat; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana"><A 
      href="http://www.51c51.com/10/0802.htm">0802 液晶驱动程序</A>&nbsp; 
      </SPAN></FONT></SPAN><FONT color=#000000><FONT color=#ffff00><SPAN 
      style="BACKGROUND-COLOR: #009aff"><A 
      href="http://www.8951.com/BBS/index.asp"><IMG height=11 
      src="0802液晶屏驱动源程序.files/gif091.gif" width=28 
      border=0></A></SPAN></FONT></FONT><SPAN 
      style="BACKGROUND-POSITION: 0% 50%; BACKGROUND-ATTACHMENT: scroll; BACKGROUND-REPEAT: repeat; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana"><SPAN 
      lang=EN-US 
      style="BACKGROUND-POSITION: 0% 50%; BACKGROUND-ATTACHMENT: scroll; BACKGROUND-REPEAT: repeat; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana"><FONT 
      color=#000000> </FONT><A href="http://www.51c51.com/YEJIN/YEJIN.HTM"><FONT 
      color=#ff0000>回液晶主页</FONT></A></SPAN></SPAN></P>
      <P align=left>;0802液晶显示CHINA-SZ LOVE8051<BR><SPAN lang=EN-US 
      style="FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: 宋体; mso-bidi-font-family: Arial"><SPAN 
      lang=EN-US 
      style="FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: 宋体; mso-bidi-font-family: Arial"><FONT 
      size=2>;***************************************************************************<BR>;* 
      (程序转载请著明出处 
      ,未声明可适应本站腾龙/isp开发套件/倚天版开发套件&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
      *<BR>;*&nbsp; E-mail:sxj1974@163.com (51c51 test web)&nbsp; 
      51单片机学习网(深圳学林电子有限公司),自学单片机的网站&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; *<BR>;* 
      tel:13714407535 石学军 www.51c51.com www.8951.com </FONT></SPAN><SPAN 
      lang=EN-US 
      style="FONT-SIZE: 9pt; FONT-FAMILY: 宋体; mso-bidi-font-family: Arial"><FONT 
      color=#ff0000>51单片机学习网(深圳学林电子有限公司)系列自学单片机例程 </FONT></SPAN>*<SPAN 
      lang=EN-US 
      style="FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: 宋体; mso-bidi-font-family: Arial"><FONT 
      size=2>&nbsp;&nbsp;<BR>;***************************************************************************</FONT></SPAN></SPAN><BR>RS 
      EQU P2.0<BR>RW EQU P2.1<BR>E EQU P2.2<BR>MOV P0,#01H ;清除屏幕<BR>ACALL 
      ENABLE<BR>MOV P0,#38H ;8位点阵<BR>ACALL ENABLE<BR>MOV P0,#0FH ;显示开<BR>ACALL 
      ENABLE<BR>MOV P0,#06H ;移动光标<BR>ACALL ENABLE<BR>MOV P0,#80H ;显示位置<BR>ACALL 
      ENABLE<BR>mov dptr,#table3<BR>call write1<BR>mov p0,#0c0h<BR>call 
      enable<BR>mov dptr,#table2<BR>call write1<BR>mov p0,#0c2h<BR>call 
      enable<BR>jmp $<BR>ENABLE: ;送命令<BR>CLR RS<BR>CLR RW<BR>CLR E<BR>ACALL 
      DELAY<BR>SETB E<BR>RET<BR>write1: ;写一段话<BR>mov r1,#00h<BR>a1:mov 
      a,r1<BR>movc a,@a+dptr<BR>call write2<BR>inc r1<BR>cjne 
      a,#00h,a1<BR>ret<BR>write2: ;写一个字节<BR>mov p0,a<BR>setb rs<BR>clr rw<BR>clr 
      e<BR>call delay<BR>setb e<BR>ret<BR>delay: ;延时子程序。<BR>mov 
      r7,#255<BR>d1:mov r6,#255<BR>d2:djnz r6,d2<BR>djnz r7,d1<BR>ret<BR>table3: 
      db"CHINA-SZ"<BR>table2: 
      db"LOVE8051"<BR>end<BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>
      <P align=left><BR>
      <CENTER></CENTER>
  <TR>
    <TD> </TR></TBODY></TABLE></DIV>
<DIV align=center>
<CENTER>
<TABLE borderColor=#c0d6fe height=17 borderColorDark=#c0d6fe width=769 
borderColorLight=#ffffff border=1>
  <TBODY>
  <TR>
    <TD borderColor=#f2f2f2 borderColorLight=#ffffff width=676 bgColor=#ffffff 
    borderColorDark=#f2f2f2 
height=16> </TR></TBODY></TABLE></CENTER></DIV></CENTER></BODY></HTML>

⌨️ 快捷键说明

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