单片机数码管显示0到999c语言程序怎么编
单片机数码管显示0到999c语言程序怎么编
日期:2022-04-11 14:38:00 人气:1
#include<reg51.h>
unsigned char xs_d[]={0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x80,0x90};
unsigned int time=0,s,sz;delay(unsigned int k)
{
unsigned int i,j;
for(i=0;i<k;