摘 要
本文从LCD显示屏的研究背景和国内外发展现状入手,了解了LCD显示屏显示的原理和软硬件设计。首先通过凌阳单片机与SPLC501液晶显示器的硬件连接,以及利用C语言进行软件编程,顺利地实现了对字符“Automation is developing”的显示。其次通过DM Tool工具,利用字模提取方法将汉字提取出ASCII码字模,将编写的C语言编译成汇编语言,在液晶屏上实现了对汉字“自动化申志华”的显示。最后与汉字字模数据类似,利用DM Tool 字模提取工具提取了BMP位图字模,通过软件编译实现了对BMP位图的显示。
利用凌阳单片机的实验箱,将液晶显示屏与单片机相连通过反复调试,掌握了LCD显示屏的工作原理以及使用方法,顺利实现了液晶显示,达到了设计的要求。
关键词:液晶显示屏;单片机;字模提取
Abstract
This article starts from explaining the study background and the developing state all around the world of liquid crystal display, then knowing the work principle and the design of LCD. Firstly, by joining the single chip with SPLC501 liquid crystal display,and proramming with C language, realizing the characer display of “Automation is dveloping ”. Secondly, by using DM tool and the way of captions abstracting turn the chinese into ASCII captions