资 源 简 介
程序描述:这个范例说明如何使用8051 的Port 1连接到四颗七段显示器,PORT 0的低4位分别控制这四颗共阳七段显示器,让四颗共阳七段显示器使用扫描的方式轮流显示数字。这四颗七段显示器将显示出自数字时钟PORT 2的P2.0和P2.1分别连接到2个弹跳按钮。*/-Procedure Description: This example shows how to use the 8051 Port 1 connected to four seven-segment display, PORT 0, low 4, respectively to control the total of four seven-segment display yang, so that a total of four seven-segment display yang way of using the scan rotation display the number. This four seven-segment display will show a digital clock from PORT 2 of the P2.0 and P2.1 are connected to the two bounce button.* /