基于图形液晶控制器T6963C的显示驱动(C语言)

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

基于图形液晶控制器 T6963C 的显示驱动程序(C 语言)设计
电气工程及其自动化专业 谷庆广
[摘 要] 随着AT89C51单片机在各个领域的应用, 图形液晶显示控制器T6963C的应 用也正在不断地走向深入。设计以C语言为编程语言,以控制器T6963C来控制液晶显示 器LM3229的显示,对核心绘点子程序、绘直线子程序、绘圆子程序的算法设计做了详细 剖析。在Keil中进行了程序编写和调试, 在Proteus ISIS中进行了系统软、硬件交互仿 真,最后完成了实际电路连接并实现了系统各项功能。基于C语言的T6963C显示驱动程 序,具有很好的可移植性,节约了使用者单独编程和开发的时间和效率,有很好的市场 发展前景。 [关键词] AT89C51 单片机;Proteus 仿真软件;T6963C 控制器;图形液晶 LM3229
I
基于图形液晶控制器 T6963C 的显示驱动程序(C 语言)设计


1 引言........................................................................................................................................ 1 1.1 课题背景介绍.............................................................................................................. 1 1.2 研究现状综述............................................................................................................. 1 2 T6963C 控制器的显示原理................................................................................................... 2 2.1 LM3229 内部结构........................................................................................................ 2 2.2 显示 RAM 的编址方式................................................................................................. 3 2.2.1 文本显示区....................................................................................................... 3 2.2.2 图形显示区....................................................................................................... 4 2.3 T6963C 的读、写操作................................................................................................ 4 2.3.1 写操作............................................................................................................... 4 2.3.2 读操作............................................................................................................... 4 2.4 T6963C 指令................................................................................................................ 5 2.4.1 光标地址设置................................................................................................... 6 2.4.2 显示地址设置................................................................................................... 6 2.4.3 文本显示区首地址设置................................................................................... 7 2.4.4 文本显示区宽度设置....................................................................................... 7 2.4.5 图形显示区宽度设置....................................................................................... 7 3 基于 T6963C 的显示驱动程序设计.................................................................................... 11 3.1 硬件电路................................................................................................................... 12 3.2 绘点子程序............................................................................................................... 12 3.3 绘直线算法及子程序............................................................................................... 13 3.4 绘圆算法及子程序................................................................................................... 15 3.5 绘图编程实例........................................................................................................... 18 3.5.1 正方形显示子程序........................................................................................ 19 3.5.2 正方形水平移动显示子程序........................................................................ 19 3.5.3 图像显示子程序............................................................................................ 20 3.5.4 仿真运行结果................................................................................................ 21 结束语...................................................................................................................................... 23 参考文献.................................................................................................................................. 24 附录.......................................................................................................................................... 25 致谢.......................................................................................................................................... 37
总 表 插
计: 格: 图:
42 7 20
页 个 幅
南 阳 理 工 学 器 T6963C 的显示驱动 程序(C 语言)设计
Design of Display Driver (C Language) Based on Graphical LCD Controller T6963C






本科生毕业设计(论文)
学院(系) :电子与电气工程学院 专 学 业:电气工程及其自动化 生: 谷 庆 广 胡 冬 梅
指导教师:
完成日期
2012 年 5 月
南阳理工学院本科生毕业设计(论文)
基于图形液晶控制器 T6963C 的 显示驱动程序(C 语言)设计
Design of Display Driver (C Language) Based on Graphical LCD Controller T6963C
学 院(系) : 专 业:
电子与电气工程学院 电气工程及其自动化 谷 庆 广 104091120013 胡 冬 梅(正高级工程师)
学 生 姓 名: 学 号:
指 导 教 师(职称) : 评 阅 教 师: 完 成 日 期:
南阳理工学院 Nan Yang Institute of Technology
基于图形液晶控制器 T6963C 的显示驱动程序(C 语言)设计
Design of Display Driver (C Language) Based on Graphical LCD Controller T6963C
Electrical Engineering and Automation Specialty GU Qing -G uan g Qing-G -Guan uang Abstract: Along with the AT89C51 microcontroller is widely used in various fields of applications ,the display controller T6963C is continuously, drawing system design example based on graphical liquid display controller T6963C. C language for programming language, the author analyzes the core subprogram of plotting dot seriously and deals with the subprograms of typical graphics drawing in detail. The system program writing and debugging are performed in keil and the system software and hardware interactive simulation is performed in Proteus ISIS. Finally , the author performed the actual circuit connection and realized the system function. C language-based T6963C display driver has good portability, saving time and efficiency of users separate programming and development, and good market prospects. Keywords: AT89C51 microcontroller ; proteus simulation ; T6963C controller ; graphical LCD LM3229
相关文档
最新文档