- Category:
- SCM
- Tags:
-
[C/C++]
[源码]
- File Size:
- 2kb
- Update:
- 2012-11-26
- Downloads:
- 0 Times
- Uploaded by:
- 秦凯
Description: # 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,} /*-* /
To Search:
File list (Check if you may need any files):
DS1302实时时钟.C