直接上代码,因为任性,不想解释,太简单了
用的C51开发板
#include<reg51.h>
unsigned char count=0,counts=0;
code unsigned char tab[]={
0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f};
unsigned char sshiwei,mshiwei,hshiwei;
unsigned
直接上代码,因为任性,不想解释,太简单了
用的C51开发板
#include<reg51.h>
unsigned char count=0,counts=0;
code unsigned char tab[]={
0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f};
unsigned char sshiwei,mshiwei,hshiwei;
unsigned