代码搜索:KEY1
找到约 1,573 项符合「KEY1」的源代码
代码结果 1,573
www.eeworm.com/read/385878/8783757
qmsg led_key.tan.qmsg
{ "Info" "IQEXE_SEPARATOR" "" "Info: *******************************************************************" { } { } 3 0 "*******************************************************************" 0 0 "" 0}
www.eeworm.com/read/429667/8795586
lst auto moto1.lst
A51 MACRO ASSEMBLER AUTO_MOTO1 06/10/2008 20:02:13 PAGE 1
MACRO ASSEMBLER A51 V7.07
OBJECT MODULE PLACED IN auto moto1.OBJ
ASSEMBL
www.eeworm.com/read/178785/9385557
txt presskey.txt
《多个按键的连按处理技巧》
在设计中,常常用UP键和DOEN来调节参数。这种键在处理时,要考虑连按的问题。而且希望键连续按下的时间越长,动作的响应速度越快(即加速度处理)
在连按的处理过程中,要考虑3个时间常数:
1、连按响应时间常数(首次值),该值用于区分连按/单按。
a)当按键闭和的时间该参数时,判为连按;
2、连按缓冲时间常数(最 ...
www.eeworm.com/read/275831/10793947
00 - introduction
hash = { "key1" => "val1", "key2" => "val2" }
string = ""
hash.each { |k,v| string
www.eeworm.com/read/272558/10953369
c main.c
/*******************************************************************************
*File: Main.c
*功能: 使用PWM6输出PWM信号,通过滤波电路实现DAC转换.由KEY1控制PWM占空比,每按一次
* 按键将会改变一次PWM的占空比
**************************
www.eeworm.com/read/470522/6912754
asm key_display_huang.asm
KEY1: ACALL KS1
JNZ LK1 ;不为0,有键盘按下,转
ACALL DIS ;调用显示子程序,延时6MS
AJMP KEY1
LK1: ACALL DIS ;调用显示子程序,延时12Ms
ACALL DIS
ACALL KS1
JNZ LK2
www.eeworm.com/read/441635/7124147
~pas register.~pas
unit Register;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, DiskSN;
type
TRegForm = class(TForm)
Label1: TLabel;
www.eeworm.com/read/441635/7124159
pas register.pas
unit Register;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, DiskSN;
type
TRegForm = class(TForm)
Label1: TLabel;
www.eeworm.com/read/449920/7493930
c key.c
#include "key.h"
#define KEY1 PF3
#define KEY2 PF2
void Key_InIt(void)
{
DDRF = 0XF3;
PORTF =0XFF;
}
uchar GetKey(void)
{
uchar ret = 0;
while(1)
{
ret = PINF;
if(!(