摘要
讨论了一种LED显示系统设计方案,巧妙地将静态显示方式和动态显示方式结合起来,在使用很少的单片机I/O端口的情况下,可以同时驱动显示多达数十个数码管,并讨论了显示驱动算法逻辑。给出了对数码管阵列进行扩充的基本思路,该方案被应用在笔者开发的一款电子秤中,实际使用证明这个方案能有效节省硬件资源,软件控制逻辑简单,算法实现容易,方案实用性较高。
This article discusses the design of an LED display system,skillfully combination of static display and dynamic display.In the use of a small amount microcontroller I/O port case,one can simultaneously display up to dozens of LED,and discuss the display driver algorithm logic.For ease of use,the article also gives expanded array of LED basic ideas.The program is used in the development of an electronic scale,the actual use show that this scheme can effectively save hardware resources,simply the control logic,facilitate the realization of algorithm,possess high program availability.
出处
《实验科学与技术》
2011年第3期12-13,共2页
Experiment Science and Technology