代码搜索:按键扫描
找到约 10,000 项符合「按键扫描」的源代码
代码结果 10,000
www.eeworm.com/read/480170/6678331
txt 一个2410的键盘驱动加应用程序 .txt
/*这段代码是一个用户模式下的DEMO,不是真正的驱动,它负责把按键的键值打印输出*/
#include
#include
#include
#include
#include
#include
#include
www.eeworm.com/read/478169/6720862
asm ps2.asm
;安装1602液晶, 烧写程序后,把电脑的键盘
;插入键盘接口。按键液晶则有显示.
PS2_CLK BIT P3.3
PS2_DATA BIT P3.4
LCD_RS BIT P2.0 ;LCD控制端口
LCD_RW BIT P2.1
LCD
www.eeworm.com/read/265101/11282921
c isd4004_v08.c
//保留了除IOB0、IOB1、IOB3的其它位值,不改变MISO的值
//按键读取当时状态!
#define Port_IOA_Data (unsigned int*)0x7000 //portA data
#define Port_IOA_Buffer (unsigned int*)0x7001 //portA buffer
#de
www.eeworm.com/read/262834/11388220
c key.c
/*
* Copyright (c) 2005, 广州力源电器公司开发部
* All rights reserved.
* 文件名称:key.c 负责驱动键盘以获得按键状态
* 当前版本: 1.0
* 作者: 张洪强
* 完成日期: 2005.7.25
*/
#include
//#include
#include
www.eeworm.com/read/405712/11458948
c ch452w2.c
/* ***************************
Website: http://wch.cn
Email: tech@wch.cn
Author: W.ch 2005.4
CH452的真正2线接口
****************************
CH452的真正2线接口,含低电平脉冲按键中断在内,只需要2个I/O引脚,兼容I2C/IIC时序
www.eeworm.com/read/404270/11489322
plg key.plg
礦ision2 Build Log
Project:
F:\单片机\川大资料c51\示范程序\按键采集\Key.uv2
Project File Date: 07/05/2006
Output:
www.eeworm.com/read/347293/11676115
o main.o
XL
H 1 areas 3 global symbols
M main.c
A text size 5C flags 0
dbfile D:\AVR\我的程序\按键实验/cfg.h
dbfunc e port_init 0 fV
dbline FFFFFFFF 0
dbline A 0
dbline B 0
dbline C 4
dbline E 8
dbline F A
www.eeworm.com/read/347293/11676128
dbg key.dbg
IMAGECRAFT DEBUG FORMAT
VERSION 1.1
CPU AVR
DIR D:\AVR\我的程序\按键实验\
FILE cfg.h
FUNC port_init 96 fV
BLOCK 10 96
LINE 10 96
LINE 11 96
LINE 12 9A
LINE 14 9E
LINE 15 A0
BLOCKEND 0 A2
FUNCEND
www.eeworm.com/read/341933/12055149
c key.c
/*
* Copyright (c) 2005, 广州力源电器公司开发部
* All rights reserved.
* 文件名称:key.c 负责驱动键盘以获得按键状态
* 当前版本: 1.0
* 作者: 张洪强
* 完成日期: 2005.7.25
*/
#include
//#include
#include
www.eeworm.com/read/255633/12067894
c run.c
#define uchar unsigned char
#define uint unsigned int
#define ulong unsigned long
#include
sbit P00 = P0^0; //控制电机
sbit K1= P3^5; //按键
uchar scale;//用于保存占空比的输出0的时间份额,总共10份
//模拟PWM