上一章用静态显示1234.5,无需循环语句 比较简单,这次用动态显示01234567
直接给参考程序:使用Keil uVision5编程,Proteus 8 Professional进行仿真。
#include<reg51.h>
#include<intrins.h>
#define uchar unsigned char
#define uint unsigned int
uchar code DSY_CODE[]={
0xc0,0xf9,0xa4,0xb0<
上一章用静态显示1234.5,无需循环语句 比较简单,这次用动态显示01234567
直接给参考程序:使用Keil uVision5编程,Proteus 8 Professional进行仿真。
#include<reg51.h>
#include<intrins.h>
#define uchar unsigned char
#define uint unsigned int
uchar code DSY_CODE[]={
0xc0,0xf9,0xa4,0xb0<