数码管型号是4位共阳,采用2片595驱动数码管,五个管脚分别对应:
VCC--------------------------------------------------------------------------------------->3.3V~5V
DIO---------------------------------------------------------------------------------------->PE5
RCLK------------------------------------------------------------------------------------->PE3
SCLK-------------------------------------------------------------------------------------->PE1
GND -------------------------------------------------------------------------------------->接地
功能:可以让4位数码管显示任意四位数
1