#include <reg52.h>
#include "delay.h"
sbit key1 = P3^2;
sbit seg_select = P1^0;
sbit bit_select = P1^1;
#define SEGPORT P0
unsigned char tempdata[2] = {
0x3f,0x3f};
unsigned char segdata[10] = {
0x3f,0x06,0x5b,0x4f,0x66,0x6d<
单片机==独立按键+数码管计数+中断法(9)
最新推荐文章于 2022-09-17 21:12:07 发布