代码搜索结果

找到约 10,000 项符合 Clock 的代码

clock.c

/*程序实现功能:1、时钟功能,时钟的走动。2、时钟时间调整功能,可设置时钟的时、分、秒。 3、闹铃设置功能,闹铃时间设置及闹铃的开关。4、红外开关闹,实现红外遥控对闹铃的开关. */ #include #define uchar unsigned char #define uint unsigned int sbit s1=P2^3;//时间调整功能键 sbi

clock.c

/* Copyright (C) 1991, 1995, 1996, 1997 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it un

clock.lst

C51 COMPILER V6.12 CLOCK 06/05/2005 15:44:46 PAGE 1 C51 COMPILER V6.12, COMPILATION OF MODULE CLOCK OBJECT MODULE PLACED IN .

clock.c

#include "global.h" //读写1226(特别注意点:读1226的动作会造成看门狗不能复位,所以改为每5s读一次) void time_x1226(void) { uchar a; a=eread(0x3f); // 写时间到x1226 if((m_set_time==1)||((a&1)==1)){ ewr

clock.c

/*程序实现功能:1、时钟功能,时钟的走动。2、时钟时间调整功能,可设置时钟的时、分、秒。 3、闹铃设置功能,闹铃时间设置及闹铃的开关。4、红外开关闹,实现红外遥控对闹铃的开关. */ #include #define uchar unsigned char #define uint unsigned int sbit s1=P2^3;//时间调整功能键 sbi

clock.c

#include #include unsigned char code dis_week[]={"SUN,MON,TUE,WED,THU,FRI,SAT"}; unsigned char code para_month[13]={0,0,3,3,6,1,4,6,2,5,0,3,5}; //星期月参变数 unsigned char data di