摘要
主要阐述了如何在51单片机点阵上显示同心圆。首先介绍了点阵的显示原理,然后基于16×16的点阵进行了同心圆的设计。在设计代码显示同心圆的过程中,改进了以往的依靠在程序中给出要显示的图形(或汉字)的内码(形状代码),我们只要根据任意给定的半径就可以显示出不同半径的同心圆。在彩灯,交通灯等方面具有广泛的实用性,同时也可以作为教学改进的一个亮点。
This paper mainly narrate how displays on concentric circles on the dot-matrix of MCS-51 Single Chip Computer.First introduce the principle of dot-matrix display,and then a concentric circle designs based on the lattice 16×16,In the process of designing of the code showed Concentric circles that improve on the previous question in the proceedings are shown in graphic (or Chinese characters) of the code (the code shape),as long as we under any given radius of concentric circles can show that.in the lantern,traffic signals,and so has a wide range of practical,but can also improve the teaching as a bright spot.
出处
《工业控制计算机》
2009年第3期82-83,共2页
Industrial Control Computer
关键词
单片机
点阵
圆
single chip computer,dot-matrix,circle