- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
动态显示(dynamic display)
动态显示(dynamic display)
One, about LCD1602:
Before writing the LCD1602 program, understand some of the very important information in the manual. If the information is not clear enough, the program may experience more or less problems.
1. pin:
1602 a total of 16 pins, but the main pin programming used only three, respectively: RS (data terminal, R/W (selected) to read and write E (select end), enable signal); programming focuses on the three pin expansion initialization, write command, write data.
The following three specific description of the pin:
RS is the register selection, the high level selects the data register, and the low level selects the instruction register.
R/W read and write select, high level read operation, low-level write operation.
The E terminal is the enable terminal, and the latter is connected with the timing.
In addition, the D0~D7 are 8 bit bidirectional data lines.
2. operation sequence:
Read and write timing: 1602 in the timing diagram. Timing diagrams are important. Programming is setting up registers according to the sequence diagram to allow the LCD to work.
Two write timing:
When we want to write the instruction word and set the working mode of LCD1602: we need to set the RS to low level, RW to low level, then send the data to the data port D0~D7, and finally a high pulse of E pin writes the data.
When we want to write data words, on the 1602 to achieve the display: RS needs to be set to high, RW to low, and then send data to the data port D0~D7, and finally the E pin, a high pulse to write data.
The difference between writing instructions and writing data is simply that the level of the RS is different. The following is the timing diagram of the LCD1602:
RS R/W operation instructions
00 write instruction code D0~D7
01 read and output the D0~D7 status word
10 write data D0~D7
11 read data from D0~D7
Note: about E=H pulse - at the start, initialize E to 0, and then set E to 1, and then clear 0.
When you read the status word, note that the
您可能关注的文档
- 中国人参加奥运会(The Chinese participate in the Olympic Games).doc
- 中国人民财产保险股份有限公司(picc(Peoples Insurance Company of China (PICC)).doc
- 中国企业如何进行业务模式升级(How do Chinese enterprises upgrade their business models).doc
- 中国企业家不可能再会有免费的音乐午餐(It's impossible for Chinese entrepreneurs to have free music lunch again).doc
- 中国企业的用人误区(第1页)(The mistakes of employing Chinese enterprises (first pages)).doc
- 中国传媒大学 中国传媒大学2011年硕士研究生招生简章(Communication University of China graduate student enrollment of Communication University of China in 2011).doc
- 中国入世后银行业收益成本分析(Analysis of the income cost of the banking industry after China's entry into WTO).doc
- 中国农业科学院研究生院(Graduate School of Chinese Academy of Agricultural Sciences).doc
- 中国卓越企业的本土创新之道(Local innovation of China's excellent enterprises).doc
- 中国半导体硅材料(多晶、单晶)材料发展60年(China semiconductor silicon material (polycrystal, single crystal) material development for 60 years).doc
- 加入wto后我国国债管理的应对方略(Countermeasures of China's national debt management after China's entry into WTO).doc
- 到了哈佛,你才知道真正的精英并不是天才(At Harvard, you know that the real elite is not a genius).doc
- 动漫的分析(Anime analysis).doc
- 制作自己喜欢的srt字幕特效(Make your favorite SRT subtitle effects).doc
- 利用brp模型预测电影票房(Using BRP model to predict movie box office).doc
- 动态地址获取(Dynamic address access).doc
- 加强学习和交流全面提升服务水平(Strengthen learning and communication, and comprehensively improve service level).doc
- 加强农村文化建设的途径_人文历史论文(Strengthen the rural cultural construction way _ humanities history paper).doc
- 前田京子的手工皂(Maeda Kyoko's Handmade Soap).doc
- 动画专业术语英文对照(Animation terminology in English).doc
最近下载
- 《风景谈》精品课件.ppt VIP
- T11长轨列车卸轨作业指导书.pdf VIP
- 城市轨道交通交流供电系统的保护方式1城市轨道交通交流供电系.pptx VIP
- 《极简项目管理》读书笔记.pdf VIP
- 北京-绅宝D70-产品使用说明书-绅宝D70 2.3T-C7230C7G-绅宝产品使用说明书.pdf VIP
- 《地下工程防水技术规范》(GB50108-2008).pdf
- 2023 【小升初分班】小升初数学分班测试卷 (通用版,含答案).pdf VIP
- DLT 1253-2013 电力电缆线路运行规程.pdf VIP
- 商务谈判毕思勇课程教案.pdf VIP
- 信息处理技术员教程(第三版)第6章 演示文稿基础知识.pptx VIP
文档评论(0)