Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - char segment
Search - char segment - List
用LED數碼管顯示計數器對T0的計數值 unsigned char Tab[ ]={0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x80,0x90} //段碼表 共陽 unsigned char x //計數 sbit P34=P3^4 //K3 輸入阜-LED digital tube display counter count value of T0 unsigned char Tab [] = {0xc0, 0xf9, 0xa4, 0xb0, 0x99, 0x92, 0x82, 0xf8, 0x80, 0x90} // Segment Table total of Yang unsigned char x // count sbit P34 = P3 ^ 4 // K3 input Fau
Date : 2026-01-09 Size : 1kb User : Poter

DL : 0
#define uchar unsigned char #define unint unsigned int sbit T_CLK=P1^0 /* 实时时钟的时钟线引脚*/ sbit T_IO=P1^1 /* 实时时钟的数据线*/ sbit T_RST=P2^0 /* 实时时钟的复位线引脚*/ sbit DUAN=P2^6 //74HC573的LE端 LED的段选端 sbit WEI=P2^7 //74HC573的LE端 LED的位选端 unint a[6] //={0,0,0,0,0,0} /*位段的数字*/ uchar code ledk[]= { 0x3f,/*0*/ 0x06,/*1*/ 0x5b,/*2*/ 0x4f,/*3*/ 0x66,/*4*/ 0x6d,/*5*/ 0x7d,/*6*/ 0x07,/*7*/ 0x7f,/*8*/ 0x6f,/*9*/ 0x40,} /*-*/ -# Define uchar unsigned char# define unint unsigned int sbit T_CLK = P1 ^ 0 /* Real-time clock line pin*/sbit T_IO = P1 ^ 1 /* real-time clock data line*/sbit T_RST = P2 ^ 0 segment selector the end sbit WEI /* real-time clock reset line pin*/sbit VOl.41.No.10, = P2 ^ 6 // 74HC573 the LE-end LED = P2 ^ 7 // 74HC573 the LE-end LED Choice end unint a [6] //= {0,0,0,0,0,0} /* digital bit segment*/uchar code ledk [] = {0x3f, /* 0*/0x06, /* 1*/0x5b, /* 2*/0x4f, /* 3*/0x66, /* 4*/0x6d, /* 5*/0x7d, /* 6*/0x07, /* 7*/0x7f, /* 8*/0x6f , /* 9*/0x40,} /*-* /
Date : 2026-01-09 Size : 2kb User : 秦凯
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.