摘要
针对小型LED点阵屏显示灵活多样的特点,结合各行各业应用LED点阵屏显示的典型要求,设计了小型LED点阵显示屏控制系统,该显示屏以AVR单片机为核心,采用C语言进行软件的设计;为使按键更加人性化,最大限度地减少按键数量,实现了点阵显示的单键控制技术;软件中说明了实现汉字显示及汉字移动的主要编程语句;同时解析了如何根据两个日期计算相隔天数的软件编程思路,以便显示距离将要发生重要事件的天数等内容,通过实践应用取得了很好的效果。
Considering its flexibilities and diversities and the classical demands from various industries, a control system for mini LED dot matrix screens has been designed. This software design bases on C Language programming, with AVR single chip as its core. A single--but- ton control technology has been implemented for maximizing humanization and minimizing the number of buttons. Major programming statements for character display and movement has been explained in the software. The article also analyses the methods for counting the number of days between two specific dates, which is mainly for the countdown to major events, and satisfactory results has been obtained through practice.
出处
《计算机测量与控制》
CSCD
北大核心
2011年第12期3165-3168,共4页
Computer Measurement &Control
关键词
单键控制
汉字显示
汉字移动
天数计算
single--key control
character displaying
character moving
calculating days