资 源 简 介
用STARES598PCI单板开发机设计一个应用接口芯片作为四个七段LED数码管的输出口,编写一段程序,使8个LED数码管依次闪烁左移显示从输入口的逻辑开关读入的4位数字,闪烁频率为每秒一次。其外,还需实现一些附加功能,比如:可控制左移还是右移;可重新输入另外一个四位数;输入时可回显;以及输入时的十六进制到十进制的转换的等问题。
由此可见,要实现以上的功能,需要8个7段LED数码管和逻辑开关,闪烁的频率为1s。从开关读数,用LED显示。
-Machine Design STARES598PCI veneer developed with an application interface chip as the four seven-segment LED digital tube output, write a procedure so eight left blinking LED digital tube displays turn the logic of switching from the input port read 4-digit , flicker frequency of once per second. Besides, need to realize some additional features, such as: can control the left or a shift to the right can re-enter another one four-digit number input to echo and hexadecimal input to decimal conversion and other issues . Thus, to achieve the above functionality, you need eight 7-segment LED digital control and logic switches, blinking frequency of 1s. Readings from the switch, with LED display.