2006年l2月
增刊 实验科学与技术
5 1单片机在LED数码管显示中的应用’
李正浩”,姜宝钧,邓兴成
(电子科技大学成都610054)
摘要:LED数码显示管可以显示数字或符号,通常用来显示时间、速度、系统状态等。MCS
一51单片机对LED数码显示管的电路实现方式有几种,包括静态显示和动态显示。该文就对各
种不同的显示方式进行简单的描述,分析了它们的优缺点并给出硬件电路和软件程序的设计。
关键词:MCS一51单片机;LED数码显示管;静态显示;动态显示
中图分类号:TP274?1 文献标识码:B 文章编号:1672-4550(2006)07-0095一o4
Application of MCS?——51LI in Static and
Dynamic Display of LED
LI Zheng—hao,DENG Xing—cheng,JIANG Bao-jun
(University of Electronic Science and Technology of China Chengdu 610054)
Abstract:The LED digitM tube can display the numeral or sign,and it is usually used to show
time,speed,the system’S state etc.There are several LED digital mbe display methods,including the
static and dynamic manifestation.This paper makes a brief introduction to each display method,analyzes
its advantages and disadvantages,and describes the design scheme of hardware and software.
Key words:MCS一51;LED;Static Display;Dynamic Display ’
1 引 言
在单片机系统中,常用LED数码管来显示各
种数字或符号。由于它具有价钱低廉,性能稳定,
显示清晰,亮度高,使用电压低,寿命长等特点,
所以应用非