/*******************************/
//数码管显示0到60,间隔一秒
#include <reg52.h>
#include <intrins.h>
#define uchar unsighed char;
#define uint unsighed int;
sbit we = P2^7;
sbit du = P2^6;
sbit led = P1;
uchar i =1;
uint time_counter=0,time_counter1=0;
uchar code leddata[]={
0x3F, //"0"
0x06, //"1"
0x5B, //"2"
0x4F, //"3"
0x66, //"4"
0x6D, //"5"
0x7D, //"6"
0x07, //"7"
0x7F, //"8"
0x6F, //"9"
0x77, //"A"
0x7C, //"B"
0x39, //"C"
0x5E, //"D"
0x79, //"E"
0x71, //"F"
0x76, //"H"
0x38, //"L"
0x37, //"n"
0x3E, //"u"
0x73, //"P"
0x5C, //"o"
0x40, //"-"
0x00, //熄灭