#include <REGX52.H>
#include <intrins.h>//循环移位函数
void delay(unsigned int z)//延时函数
{
unsigned int x,y;
for (x=z;x>0;x--)
for (y=114;y>0;y--)
keil : 用数码管显示想要的数字
最新推荐文章于 2024-03-13 09:27:23 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)
#include <REGX52.H>
#include <intrins.h>//循环移位函数
void delay(unsigned int z)//延时函数
{
unsigned int x,y;
for (x=z;x>0;x--)
for (y=114;y>0;y--)