代码搜索:timer1
找到约 1,567 项符合「timer1」的源代码
代码结果 1,567
www.eeworm.com/read/157103/11738695
c pwm.c
#include "pwm.h"
unsigned char pwm_value[2]={0x7f,0x7f};
unsigned char pwm_flag;
//TIMER1 initialize - prescale:1
// WGM: 8) PWM phz freq correct, TOP=ICRn
// desired value: 14.4KHz
// act
www.eeworm.com/read/157103/11739106
_c pwm._c
#include "pwm.h"
unsigned char pwm_value[2]={0x7f,0x7f};
//TIMER1 initialize - prescale:1
// WGM: 8) PWM phz freq correct, TOP=ICRn
// desired value: 14.4KHz
// actual value: 14.456KHz (0.4
www.eeworm.com/read/176523/9494821
_h timer._h
#ifndef _TIMER_H
#define _TIMER_H
#include
extern void T1_timeout();
//Timer接口
//Timer0
void start_T0(char type, unsigned int count);
void stop_T0(void);
//Timer1
void sta
www.eeworm.com/read/176523/9494980
_h timer._h
#ifndef _TIMER_H
#define _TIMER_H
#include
extern void T1_timeout();
//Timer接口
//Timer0
void start_T0(char type, unsigned int count);
void stop_T0(void);
//Timer1
void sta
www.eeworm.com/read/302820/13826928
h timetask.h
//TIMER1 initialize - prescale:256
// WGM: 0) Normal, TOP=0xFFFF
// desired value: 100mSec
// actual value: 100.000mSec (0.0%)
void timer1_init(void)
{
TCCR1B = 0x00; //stop
TCNT1H = 0xF4
www.eeworm.com/read/302820/13826942
_h timetask._h
//TIMER1 initialize - prescale:256
// WGM: 0) Normal, TOP=0xFFFF
// desired value: 100mSec
// actual value: 100.000mSec (0.0%)
void timer1_init(void)
{
TCCR1B = 0x00; //stop
TCNT1H = 0xF4
www.eeworm.com/read/156589/11790803
txt 检测鼠标位置.txt
检测鼠标位置
例如,通过一个定时器Timer1的触发事件源来检测鼠标位置
void __fastcall TForm1::Timer1Timer(TObject *Sender)
{
TPoint pt;
GetCursorPos(&pt);
Label1->Caption = "(" +IntToStr(pt.x) +")(" +Int