📄 1602 lcd显示实验.htm
字号:
href="http://www.robotsky.com/guestbook.asp">留言簿</A> |
</TD></TR></TBODY></TABLE></TD>
<TD align=right width=37
background=1602 LCD显示实验.files/hard_03.gif><IMG height=32
src="1602 LCD显示实验.files/hard_04.gif"
width=30></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=778 border=0>
<TBODY>
<TR>
<TD></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=778 border=0>
<TBODY>
<TR bgColor=#ffffff>
<TD colSpan=3 height=2></TD></TR>
<TR>
<TD width=19 bgColor=#eeeeee height=22> </TD>
<TD align=right width=748 bgColor=#eeeeee>
<SCRIPT language=JavaScript1.2 type=text/javascript>
<!--
stm_bm(['uueoehr',400,'','images/blank.gif',0,'','',0,0,0,0,0,1,0,0]);
stm_bp('p0',[0,4,0,0,2,2,0,0,100,'',-2,'',-2,90,0,0,'#000000','transparent','',3,0,0,'#000000']);
stm_ai('p0i0',[0,'|','','',-1,-1,0,'','_self','','','','',0,0,0,'','',0,0,0,0,1,'#f1f2ee',1,'#cccccc',1,'','',3,3,0,0,'#fffff7','#000000','#000000','#000000','9pt 宋体','9pt 宋体',0,0]);
stm_aix('p0i1','p0i0',[0,'Robot技术文档/科普首页','','',-1,-1,0,'Article_Index.asp','_self','Article_Index.asp','','','',0,0,0,'','',0,0,0,0,1,'#f1f2ee',1,'#cccccc',1,'','',3,3,0,0,'#fffff7','#ff0000','#333333','#FF6600','9pt 宋体','9pt 宋体']);
stm_aix('p0i2','p0i0',[0,'|','','',-1,-1,0,'','_self','','','','',0,0,0,'','',0,0,0,0,1,'#f1f2ee',1,'#cccccc',1,'','',3,3,0,0,'#fffff7','#000000','#000000','#000000','9pt 宋体','9pt 宋体',0,0]);
stm_aix('p0i3','p0i0',[0,'基础/English','','',-1,-1,0,'Article_Class.asp?ClassID=1','_self','Article_Class.asp?ClassID=1','各种机器人的基础知识.基础/整机English','','',0,0,0,'','',0,0,0,0,1,'#f1f2ee',1,'#cccccc',1,'','',3,3,0,0,'#fffff7','#ff0000','#333333','#FF6600','9pt 宋体','9pt 宋体']);
stm_bp('p1',[1,4,0,0,2,3,6,7,100,'progid:DXImageTransform.Microsoft.Fade(overlap=.5,enabled=0,Duration=0.43)',-2,'',-2,67,2,3,'#333333','#ffffff','',3,1,1,'#aca899']);
stm_aix('p1i0','p0i0',[0,'常识基础','','',-1,-1,0,'Article_Class2.asp?ClassID=6','_self','Article_Class2.asp?ClassID=6','常识基础','','',0,0,0,'','',0,0,0,0,1,'#f1f2ee',1,'#eeeeee',0,'','',3,3,0,0,'#fffff7','#ff0000','#333333','#FF6600','9pt 宋体']);
stm_aix('p1i1','p0i0',[0,'英语文献','','',-1,-1,0,'Article_Class2.asp?ClassID=7','_self','Article_Class2.asp?ClassID=7','英语文献','','',0,0,0,'','',0,0,0,0,1,'#f1f2ee',1,'#eeeeee',0,'','',3,3,0,0,'#fffff7','#ff0000','#333333','#FF6600','9pt 宋体']);
stm_aix('p1i2','p0i0',[0,'理论基础','','',-1,-1,0,'Article_Class2.asp?ClassID=5','_self','Article_Class2.asp?ClassID=5','理论基础','','',0,0,0,'','',0,0,0,0,1,'#f1f2ee',1,'#eeeeee',0,'','',3,3,0,0,'#fffff7','#ff0000','#333333','#FF6600','9pt 宋体']);
stm_aix('p1i3','p0i0',[0,'整机','','',-1,-1,0,'Article_Class2.asp?ClassID=8','_self','Article_Class2.asp?ClassID=8','整机推荐','','',0,0,0,'','',0,0,0,0,1,'#f1f2ee',1,'#eeeeee',0,'','',3,3,0,0,'#fffff7','#ff0000','#333333','#FF6600','9pt 宋体']);
stm_aix('p1i4','p0i0',[0,'其他基础知识','','',-1,-1,0,'Article_Class.asp?ClassID=30','_self','Article_Class.asp?ClassID=30','其他基础知识','','',0,0,0,'','',0,0,0,0,1,'#f1f2ee',1,'#eeeeee',0,'','',3,3,0,0,'#fffff7','#ff0000','#333333','#FF6600','9pt 宋体']);
stm_ep();
stm_aix('p0i2','p0i0',[0,'|','','',-1,-1,0,'','_self','','','','',0,0,0,'','',0,0,0,0,1,'#f1f2ee',1,'#cccccc',1,'','',3,3,0,0,'#fffff7','#000000','#000000','#000000','9pt 宋体','9pt 宋体',0,0]);
stm_aix('p0i4','p0i0',[0,'硬件技术','','',-1,-1,0,'Article_Class2.asp?ClassID=3','_self','Article_Class2.asp?ClassID=3','机器人硬件技术','','',0,0,0,'','',0,0,0,0,1,'#f1f2ee',1,'#cccccc',1,'','',3,3,0,0,'#fffff7','#ff0000','#333333','#FF6600','9pt 宋体','9pt 宋体']);
stm_bp('p1',[1,4,0,0,2,3,6,7,100,'progid:DXImageTransform.Microsoft.Fade(overlap=.5,enabled=0,Duration=0.43)',-2,'',-2,67,2,3,'#333333','#ffffff','',3,1,1,'#aca899']);
stm_aix('p1i0','p0i0',[0,'四肢设备','','',-1,-1,0,'Article_Class2.asp?ClassID=13','_self','Article_Class2.asp?ClassID=13','四肢设备','','',0,0,0,'','',0,0,0,0,1,'#f1f2ee',1,'#eeeeee',0,'','',3,3,0,0,'#fffff7','#ff0000','#333333','#FF6600','9pt 宋体']);
stm_aix('p1i1','p0i0',[0,'视觉听觉','','',-1,-1,0,'Article_Class2.asp?ClassID=19','_self','Article_Class2.asp?ClassID=19','机器人的视觉听觉','','',0,0,0,'','',0,0,0,0,1,'#f1f2ee',1,'#eeeeee',0,'','',3,3,0,0,'#fffff7','#ff0000','#333333','#FF6600','9pt 宋体']);
stm_aix('p1i2','p0i0',[0,'传感驱动','','',-1,-1,0,'Article_Class2.asp?ClassID=14','_self','Article_Class2.asp?ClassID=14','传感驱动','','',0,0,0,'','',0,0,0,0,1,'#f1f2ee',1,'#eeeeee',0,'','',3,3,0,0,'#fffff7','#ff0000','#333333','#FF6600','9pt 宋体']);
stm_aix('p1i3','p0i0',[0,'单片机','','',-1,-1,0,'Article_Class2.asp?ClassID=29','_self','Article_Class2.asp?ClassID=29','单片机','','',0,0,0,'','',0,0,0,0,1,'#f1f2ee',1,'#eeeeee',0,'','',3,3,0,0,'#fffff7','#ff0000','#333333','#FF6600','9pt 宋体']);
stm_aix('p1i4','p0i0',[0,'其他技术','','',-1,-1,0,'Article_Class2.asp?ClassID=20','_self','Article_Class2.asp?ClassID=20','硬件方面其他技术','','',0,0,0,'','',0,0,0,0,1,'#f1f2ee',1,'#eeeeee',0,'','',3,3,0,0,'#fffff7','#ff0000','#333333','#FF6600','9pt 宋体']);
stm_ep();
stm_aix('p0i2','p0i0',[0,'|','','',-1,-1,0,'','_self','','','','',0,0,0,'','',0,0,0,0,1,'#f1f2ee',1,'#cccccc',1,'','',3,3,0,0,'#fffff7','#000000','#000000','#000000','9pt 宋体','9pt 宋体',0,0]);
stm_aix('p0i5','p0i0',[0,'软件技术','','',-1,-1,0,'Article_Class.asp?ClassID=2','_self','Article_Class.asp?ClassID=2','软件技术','','',0,0,0,'','',0,0,0,0,1,'#f1f2ee',1,'#cccccc',1,'','',3,3,0,0,'#fffff7','#ff0000','#333333','#FF6600','9pt 宋体','9pt 宋体']);
stm_bp('p1',[1,4,0,0,2,3,6,7,100,'progid:DXImageTransform.Microsoft.Fade(overlap=.5,enabled=0,Duration=0.43)',-2,'',-2,67,2,3,'#333333','#ffffff','',3,1,1,'#aca899']);
stm_aix('p1i0','p0i0',[0,'人工智能','','',-1,-1,0,'Article_Class2.asp?ClassID=9','_self','Article_Class2.asp?ClassID=9','人工智能','','',0,0,0,'','',0,0,0,0,1,'#f1f2ee',1,'#eeeeee',0,'','',3,3,0,0,'#fffff7','#ff0000','#333333','#FF6600','9pt 宋体']);
stm_aix('p1i1','p0i0',[0,'软件仿真','','',-1,-1,0,'Article_Class2.asp?ClassID=11','_self','Article_Class2.asp?ClassID=11','软件仿真','','',0,0,0,'','',0,0,0,0,1,'#f1f2ee',1,'#eeeeee',0,'','',3,3,0,0,'#fffff7','#ff0000','#333333','#FF6600','9pt 宋体']);
stm_aix('p1i2','p0i0',[0,'算法设计','','',-1,-1,0,'Article_Class.asp?ClassID=31','_self','Article_Class.asp?ClassID=31','算法设计','','',0,0,0,'','',0,0,0,0,1,'#f1f2ee',1,'#eeeeee',0,'','',3,3,0,0,'#fffff7','#ff0000','#333333','#FF6600','9pt 宋体']);
stm_aix('p1i3','p0i0',[0,'编程相关','','',-1,-1,0,'Article_Class2.asp?ClassID=12','_self','Article_Class2.asp?ClassID=12','软件方面其他技术','','',0,0,0,'','',0,0,0,0,1,'#f1f2ee',1,'#eeeeee',0,'','',3,3,0,0,'#fffff7','#ff0000','#333333','#FF6600','9pt 宋体']);
stm_ep();
stm_aix('p0i2','p0i0',[0,'|','','',-1,-1,0,'','_self','','','','',0,0,0,'','',0,0,0,0,1,'#f1f2ee',1,'#cccccc',1,'','',3,3,0,0,'#fffff7','#000000','#000000','#000000','9pt 宋体','9pt 宋体',0,0]);
stm_aix('p0i6','p0i0',[0,'动力控制','','',-1,-1,0,'Article_Class2.asp?ClassID=4','_self','Article_Class2.asp?ClassID=4','机器人动力与控制技术','','',0,0,0,'','',0,0,0,0,1,'#f1f2ee',1,'#cccccc',1,'','',3,3,0,0,'#fffff7','#ff0000','#333333','#FF6600','9pt 宋体','9pt 宋体']);
stm_bp('p1',[1,4,0,0,2,3,6,7,100,'progid:DXImageTransform.Microsoft.Fade(overlap=.5,enabled=0,Duration=0.43)',-2,'',-2,67,2,3,'#333333','#ffffff','',3,1,1,'#aca899']);
stm_aix('p1i0','p0i0',[0,'其他技术','','',-1,-1,0,'Article_Class2.asp?ClassID=18','_self','Article_Class2.asp?ClassID=18','其他技术','','',0,0,0,'','',0,0,0,0,1,'#f1f2ee',1,'#eeeeee',0,'','',3,3,0,0,'#fffff7','#ff0000','#333333','#FF6600','9pt 宋体']);
stm_aix('p1i1','p0i0',[0,'应用简介','','',-1,-1,0,'Article_Class2.asp?ClassID=17','_self','Article_Class2.asp?ClassID=17','应用简介','','',0,0,0,'','',0,0,0,0,1,'#f1f2ee',1,'#eeeeee',0,'','',3,3,0,0,'#fffff7','#ff0000','#333333','#FF6600','9pt 宋体']);
stm_aix('p1i2','p0i0',[0,'控制技术','','',-1,-1,0,'Article_Class2.asp?ClassID=16','_self','Article_Class2.asp?ClassID=16','控制技术','','',0,0,0,'','',0,0,0,0,1,'#f1f2ee',1,'#eeeeee',0,'','',3,3,0,0,'#fffff7','#ff0000','#333333','#FF6600','9pt 宋体']);
stm_aix('p1i3','p0i0',[0,'动力技术','','',-1,-1,0,'Article_Class2.asp?ClassID=15','_self','Article_Class2.asp?ClassID=15','动力技术','','',0,0,0,'','',0,0,0,0,1,'#f1f2ee',1,'#eeeeee',0,'','',3,3,0,0,'#fffff7','#ff0000','#333333','#FF6600','9pt 宋体']);
stm_ep();
stm_aix('p0i2','p0i0',[0,'|','','',-1,-1,0,'','_self','','','','',0,0,0,'','',0,0,0,0,1,'#f1f2ee',1,'#cccccc',1,'','',3,3,0,0,'#fffff7','#000000','#000000','#000000','9pt 宋体','9pt 宋体',0,0]);
stm_aix('p0i7','p0i0',[0,'科普专栏','','',-1,-1,0,'Article_Class2.asp?ClassID=21','_self','Article_Class2.asp?ClassID=21','机器人科普知识专栏','','',0,0,0,'','',0,0,0,0,1,'#f1f2ee',1,'#cccccc',1,'','',3,3,0,0,'#fffff7','#ff0000','#333333','#FF6600','9pt 宋体','9pt 宋体']);
stm_bp('p1',[1,4,0,0,2,3,6,7,100,'progid:DXImageTransform.Microsoft.Fade(overlap=.5,enabled=0,Duration=0.43)',-2,'',-2,67,2,3,'#333333','#ffffff','',3,1,1,'#aca899']);
stm_aix('p1i0','p0i0',[0,'发展介绍','','',-1,-1,0,'Article_Class2.asp?ClassID=22','_self','Article_Class2.asp?ClassID=22','机器人发展','','',0,0,0,'','',0,0,0,0,1,'#f1f2ee',1,'#eeeeee',0,'','',3,3,0,0,'#fffff7','#ff0000','#333333','#FF6600','9pt 宋体']);
stm_aix('p1i1','p0i0',[0,'用途介绍','','',-1,-1,0,'Article_Class2.asp?ClassID=23','_self','Article_Class2.asp?ClassID=23','机器人用途','','',0,0,0,'','',0,0,0,0,1,'#f1f2ee',1,'#eeeeee',0,'','',3,3,0,0,'#fffff7','#ff0000','#333333','#FF6600','9pt 宋体']);
stm_aix('p1i2','p0i0',[0,'当前状况','','',-1,-1,0,'Article_Class2.asp?ClassID=25','_self','Article_Class2.asp?ClassID=25','当前状况','','',0,0,0,'','',0,0,0,0,1,'#f1f2ee',1,'#eeeeee',0,'','',3,3,0,0,'#fffff7','#ff0000','#333333','#FF6600','9pt 宋体']);
stm_aix('p1i3','p0i0',[0,'前景展望','','',-1,-1,0,'Article_Class2.asp?ClassID=24','_self','Article_Class2.asp?ClassID=24','机器人前景展望','','',0,0,0,'','',0,0,0,0,1,'#f1f2ee',1,'#eeeeee',0,'','',3,3,0,0,'#fffff7','#ff0000','#333333','#FF6600','9pt 宋体']);
stm_aix('p1i4','p0i0',[0,'作品介绍','','',-1,-1,0,'Article_Class2.asp?ClassID=28','_self','Article_Class2.asp?ClassID=28','作品介绍','','',0,0,0,'','',0,0,0,0,1,'#f1f2ee',1,'#eeeeee',0,'','',3,3,0,0,'#fffff7','#ff0000','#333333','#FF6600','9pt 宋体']);
stm_aix('p1i5','p0i0',[0,'其他科普知识','','',-1,-1,0,'Article_Class2.asp?ClassID=26','_self','Article_Class2.asp?ClassID=26','其他科普知识','','',0,0,0,'','',0,0,0,0,1,'#f1f2ee',1,'#eeeeee',0,'','',3,3,0,0,'#fffff7','#ff0000','#333333','#FF6600','9pt 宋体']);
stm_ep();
stm_aix('p0i2','p0i0',[0,'|','','',-1,-1,0,'','_self','','','','',0,0,0,'','',0,0,0,0,1,'#f1f2ee',1,'#cccccc',1,'','',3,3,0,0,'#fffff7','#000000','#000000','#000000','9pt 宋体','9pt 宋体',0,0]);
stm_em();
//-->
</SCRIPT>
</TD>
<TD width=11 bgColor=#eeeeee> </TD></TR>
<TR bgColor=#cccccc>
<TD colSpan=3 height=3></TD></TR><IFRAME id=baiduframe border=0
marginWidth=0 frameSpacing=0 marginHeight=0
src="1602 LCD显示实验.files/box.htm" frameBorder=0 width=468
scrolling=no height=60>
</IFRAME><IFRAME marginWidth=0 marginHeight=0
src="1602 LCD显示实验.files/marq1.jsp" frameBorder=0 width=300
scrolling=no height=60></IFRAME>
<TR>
<TD align=right height=22><IMG height=15
src="1602 LCD显示实验.files/tp009.gif" width=15></TD>
<TD><FONT color=#333333> 您现在的位置: </FONT><A
href="http://www.robotsky.com/">机器人天空</A> >> <A
href="http://www.robotsky.com/Article_Index.asp">Robot技术文档/科普</A> >> <A
href="http://www.robotsky.com/Article_Class2.asp?ClassID=3&LayoutID=1">硬件技术</A> >> <A
href="http://www.robotsky.com/Article_Class2.asp?ClassID=20"><FONT
color=#ff6600>其他技术</FONT></A> >> 正文 </TD>
<TD> </TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=778 border=0>
<TBODY>
<TR>
<TD style="BORDER-TOP: #d8d8d8 1px solid" vAlign=top align=middle
width=4 bgColor=#f6f6f6> </TD>
<TD style="BORDER-TOP: #d8d8d8 1px solid" vAlign=top align=middle
width=7 bgColor=#993366> </TD>
<TD
style="BORDER-RIGHT: #d8d8d8 1px solid; BORDER-TOP: #d8d8d8 1px solid"
vAlign=top align=middle width=6 bgColor=#f6f6f6> </TD>
<TD vAlign=top width=761>
<TABLE cellSpacing=0 cellPadding=0 width="100%" align=center
border=0>
<TBODY>
<TR>
<TD vAlign=top height=74>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD width="8%"
background=1602 LCD显示实验.files/homedhbg.gif><IMG
height=34 src="1602 LCD显示实验.files/homedha2.gif"
width=55></TD>
<TD width="65%"
background=1602 LCD显示实验.files/homedhbg.gif
height=34> <IMG height=14
src="1602 LCD显示实验.files/arrow.gif" width=11
align=absMiddle> <FONT color=#333333>1602 LCD显示实验
</FONT></TD>
<TD align=middle width="27%"
background=1602 LCD显示实验.files/homedhbg.gif> <FONT
color=#ff0066>热</FONT> <FONT
color=#ff6600>★★★</FONT> </TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD align=middle height=38><FONT
size=3><STRONG>1602 LCD显示实验</STRONG></FONT></TD></TR></TBODY></TABLE></TD></TR>
<TR>
<TD align=middle bgColor=#f6f6f6 colSpan=2 height=3></TD></TR>
<TR>
<TD align=middle bgColor=#cccccc colSpan=2 height=1></TD></TR>
<TR>
<TD align=middle bgColor=#eeeeee colSpan=2 height=28>[
作者:佚名 转贴自:本站原创 点击数:72 更新时间:2005-4-28 文章录入:<A
href="http://www.robotsky.com/UserInfo.asp?UserID=14">jones</A>
]</TD></TR>
<TR>
<TD bgColor=#cccccc colSpan=2 height=1></TD></TR>
<TR>
<TD bgColor=#f6f6f6 colSpan=2 height=4></TD></TR>
<TR>
<TD align=middle colSpan=2>
<TABLE style="WORD-BREAK: break-all" cellSpacing=6
cellPadding=5 width=746 border=0>
<TBODY>
<TR>
<SCRIPT>var status0_6562='';
var curfontsize_6562=9;var curlineheight_6562=12;</SCRIPT>
<TD vAlign=top width=720 bgColor=#ffffff height=200>
<P align=right><A
style="CURSOR: hand; POSITION: relative"
onclick='if(curfontsize_6562>8){fontsize_6562.style.fontSize=(--curfontsize_6562)+"pt";fontsize_6562.style.lineHeight=(--curlineheight_6562)+"pt";}'><IMG
height=15 src="1602 LCD显示实验.files/nofollow.gif"
width=15 border=0><FONT color=#ff6600>减小字体</FONT></A> <A
style="CURSOR: hand; POSITION: relative"
onclick='if(curfontsize_6562<64){fontsize_6562.style.fontSize=(++curfontsize_6562)+"pt";fontsize_6562.style.lineHeight=(++curlineheight_6562)+"pt";}'><IMG
height=15 src="1602 LCD显示实验.files/plus.gif"
width=15 border=0><FONT
color=#ff6600>增大字体</FONT></A></P>
<DIV id=fontsize_6562>
<DIV align=left>利用启点开发板可以很容易的完成LCD显示,具体如下:</DIV>
<DIV
align=left>1602采用标准的14脚接口,其中:<BR><BR>第1脚:VSS为地电源<BR><BR>第2脚:VDD接5V正电源<BR><BR>第3脚:V0为液晶显示器对比度调整端,接正电源时对比度最弱,接地电源时对比度最高,对比度过高时会产生“鬼影”,使用时可以通过一个10K的电位器调整对比度<BR><BR>第4脚:RS为寄存器选择,高电平时选择数据寄存器、低电平时选择指令寄存器。<BR><BR>第5脚:RW为读写信号线,高电平时进行读操作,低电平时进行写操作。当RS和RW共同为低电平时可以写入指令或者显示地址,当RS为低电平RW为高电平时可以读忙信号,当RS为高电平RW为低电平时可以写入数据。<BR><BR>第6脚:E端为使能端,当E端由高电平跳变成低电平时,液晶模块执行命令。<BR><BR>第7~14脚:D0~D7为8位双向数据线。
</DIV>
<DIV
align=left>另外引脚"A"和"K"为背光引脚,"A"接正,"K"接负便会点亮背光灯.<BR><BR> 1602液晶模块内部的字符发生存储器(CGROM)已经存储了160个不同的点阵字符图形,如表1所示,这些字符有:阿拉伯数字、英文字母的大小写、常用的符号、和日文假名等,每一个字符都有一个固定的代码,比如大写的英文字母“A”的代码是01000001B(41H),显示时模块把地址41H中的点阵字符图形显示出来,我们就能看到字母“A”
</DIV>
<DIV align=left><BR><A
href="1602 LCD显示实验.files/200542812710734.gif"
target=_blank><IMG alt=按此在新窗口浏览图片
src="1602 LCD显示实验.files/200542812710734.gif"
width=500
onload="javascript:if(this.width>screen.width-300)this.width=screen.width-300"
align=left border=0></A><BR>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P>1602液晶模块内部的控制器共有11条控制指令,如表2所示,<BR><A
href="1602 LCD显示实验.files/200542812710621.gif"
target=_blank><IMG alt=按此在新窗口浏览图片
src="1602 LCD显示实验.files/200542812710621.gif"
width=500
onload="javascript:if(this.width>screen.width-300)this.width=screen.width-300"
align=left border=0></A><BR></P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<DIV
align=left>它的读写操作、屏幕和光标的操作都是通过指令编程来实现的。(说明:1为高电平、0为低电平)
<BR><BR>指令1:清显示,指令码01H,光标复位到地址00H位置<BR><BR>指令2:光标复位,光标返回到地址00H
<BR><BR>指令3:光标和显示模式设置 I/D:光标移动方向,高电平右移,低电平左移
S:屏幕上所有文字是否左移或者右移。高电平表示有效,低电平则无效 <BR><BR>指令4:显示开关控制。
D:控制整体显示的开与关,高电平表示开显示,低电平表示关显示
C:控制光标的开与关,高电平表示有光标,低电平表示无光标 B:控制光标是否闪烁,高电平闪烁,低电平不闪烁
<BR><BR>指令5:光标或显示移位 S/C:高电平时移动显示的文字,低电平时移动光标
<BR><BR>指令6:功能设置命令 DL:高电平时为4位总线,低电平时为8位总线
N:低电平时为单行显示,高电平时双行显示 F: 低电平时显示5x7的点阵字符,高电平时显示5x10的点阵字符
<BR><BR>指令7:字符发生器RAM地址设置 <BR><BR>指令8:DDRAM地址设置
<BR><BR>指令9:读忙信号和光标地址
BF:为忙标志位,高电平表示忙,此时模块不能接收命令或者数据,如果为低电平表示不忙。
<BR><BR>指令10:写数据 <BR><BR>指令11:读数据 <BR></DIV>
<P>液晶显示模块是一个慢显示器件,所以在执行每条指令之前一定要确认模块的忙标志为低电平,表示不忙,否则此指令失效。要显示字符时要先输入显示字符地址,也就是告诉模块在哪里显示字符,表3是DM-162的内部显示地址.<BR><A
href="1602 LCD显示实验.files/200542812711371.gif"
target=_blank><IMG alt=按此在新窗口浏览图片
src="1602 LCD显示实验.files/200542812711371.gif"
width=500
onload="javascript:if(this.width>screen.width-300)this.width=screen.width-300"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -