#include <reg52.h>
#include "delay.h"
sbit key1 = P2^0;
sbit seg_select = P1^0;
sbit bit_select = P1^1;
#define SEGPORT P0
unsigned char tempdata[2];
unsigned char segdata[10] = {
0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,
单片机==独立按键+数码管计数+扫描法(8)
最新推荐文章于 2024-01-21 00:36:56 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)