代码搜索:Clock
找到约 10,000 项符合「Clock」的源代码
代码结果 10,000
www.eeworm.com/read/147744/12532262
c clock.c
/*--------------------------------------
CLOCK.C -- Analog Clock Program
(c) Charles Petzold, 1998
--------------------------------------*/
#include
#include
www.eeworm.com/read/147744/12532263
dsp clock.dsp
# Microsoft Developer Studio Project File - Name="Clock" - Package Owner=
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) App
www.eeworm.com/read/147744/12532265
dsw clock.dsw
Microsoft Developer Studio Workspace File, Format Version 6.00
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
###############################################################################
www.eeworm.com/read/335286/12541326
v clock.v
module clock(clk,clk_1k,mode,change,turn,alert,hour,min,sec,
LD_alert,LD_hour,LD_min);
input clk,clk_1k,mode,change,turn;
output alert,LD_alert,LD_hour,LD_min;
output[7:0] hour,min,sec;
reg[7:0]
www.eeworm.com/read/335269/12542542
h clock.h
/**
* \defgroup clock Clock interface
*
* The clock interface is the interface between the \ref timer "timer library"
* and the platform specific clock functionality. The clock
* interface must b
www.eeworm.com/read/147608/12542585
c clock.c
/* As usual, we start out with the included files. We'll need functions from the time
and math libraries for determining the coordinates of the clock hands. */
#include
#include
#
www.eeworm.com/read/147602/12543150
asm clock.asm
;********************************************************************************
;
;日历时钟
;按AN3,依次进入闹钟功能,闹钟时间,年,月,日和时,分,秒模式,直致退出设置状态
;按AN4,调整是否起用闹钟和调节闹钟时,分,秒,年,月,日,时间的时,分,秒的数字
;闹钟响时,按AN4即可停止闹钟的声响
www.eeworm.com/read/248620/12550147
h clock.h
#ifndef __MARAY_CLOCK
#define __MARAY_CLOCK
typedef struct{
/* Attention! month counts from ZERO,NOT one */
unsigned char sec,min,hour,day,month;
unsigned short year;
unsigned char week;
www.eeworm.com/read/248620/12550162
c clock.c
#include
#include
/* What is BCD? Ref to man directory */
/* Generally speaking,use one byte to store two digits .Simple! */
#define BCD_TO_DEC(b) ( b = (b>>4)*10 + (b&1
www.eeworm.com/read/248620/12550205