- 博客(0)
- 资源 (2)
空空如也
多功能时钟程序 优化的多功能时钟设计程序
优化的多功能时钟设计程序
#include "reg52.h"
#include "intrins.h"
#include "absacc.h"
#include "viic_c51.h"
#include "zlg7290.h"
#define uchar unsigned char
#define uint unsigned int
uint flag=0, flag1=0,flag2=0,flag3=0,flag4;//"半点"蜂鸣器鸣响//"整点"蜂鸣器鸣响
uchar set_bool=0;
uchar set_b=0;
uchar set_q=0;
uchar i_LED[4]={0x60,0x61,0x62,0x63}; //单个显示数字时的LED位数
uchar shuzi[10]={0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09}; //0~9的
2010-05-24
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人