代码搜索结果
找到约 10,000 项符合
Timer 的代码
timer.c
#include
#include
#include
int alphanum = 0;
int counter = 0;
void interrupt far handler(void)
{
if (++counter == 273) // 15 seconds
{
alph
timer.frm
VERSION 5.00
Begin VB.Form Form1
Caption = "timer"
ClientHeight = 1575
ClientLeft = 60
ClientTop = 345
ClientWidth = 2340
LinkTopic
timer.vbp
Type=Exe
Form=timer.frm
Reference=*\G{00020430-0000-0000-C000-000000000046}#2.0#0#C:\WINNT\System32\STDOLE2.TLB#OLE Automation
Startup="Form1"
Command32=""
Name="Project1"
HelpContextID="0"
Com
timer.vbw
Form1 = 44, 44, 577, 492, , 22, 22, 555, 470, C
timer.java
//package com.sam.net.download;
//
//public class Timer extends Thread
//{
//
// int ss;
// int mm;
// int hh;
//
// public Timer()
// {
// ss = 0;
// mm = 0;
// hh = 0;
// }
//
//
timer.c
/*
AAAA CCCC OOOO TTTTTT SSSSS PPPPP
AA AA CC OO OO TT SS PP PP
AAAAAA CC OO OO TT SSSS PPPPP
AA AA CC OO OO TT S
timer.h
/*
AAAA CCCC OOOO TTTTTT SSSSS PPPPP
AA AA CC OO OO TT SS PP PP
AAAAAA CC OO OO TT SSSS PPPPP
AA AA CC OO OO TT S
timer._h
#pragma interrupt_handler timer0_ovf_isr:iv_TIM0_OVF
void timer0_ovf_isr(void)
{
TCNT0 = 0xCE; //reload counter value
}
//call this routine to initialize all peripherals
void init_devices(v
timer.h
void init_devices0(void)
{
//stop errant interrupts until set up
CLI(); //disable all interrupts
TCCR0 = 0x00; //stop timer
TCNT0 = 0xCE; //set count value
OCR0 = 0x32;
TCCR0 = 0x02; //