代码搜索:Key_UP
找到约 218 项符合「Key_UP」的源代码
代码结果 218
www.eeworm.com/read/363790/9935831
h pcjianpan.h
#include //_nop_();
#define uchar unsigned char
#define uint unsigned int
#define ulong unsigned long
#define nops() {_nop_();_nop_();_nop_();_nop_();_nop_();_nop_();}
www.eeworm.com/read/361688/10039303
c ps2.c
#include
#include
#include "scancodes.h"
#define F_CPU 8000000
#define Key_Data ((PIND&0x10)>>4)
#define Key_CLK ((PIND&0x08)>>3)
static unsigned char IntNum = 0; //中
www.eeworm.com/read/361688/10039340
_c ps2._c
#include
#include
#include "scancodes.h"
#define F_CPU 8000000
#define Key_Data ((PIND>>4)&0x10)
#define Key_CLK ((PIND>>3)&0x08)
static unsigned char IntNum = 0; //中
www.eeworm.com/read/464094/7169773
c int0.c
/*中断程序,帮助了解中断事件*/
#include
#include
sbit key_data=P3^4; //定义键盘接口的数据脚,与脚与蜂鸣器共用一个脚,记得把板子上的插针J15转过来
sbit key_clk=P3^2; //定义键盘接口的时钟脚
sbit JDQ=P3^5; //继电器
bit BF=0;
//c
www.eeworm.com/read/453878/7406268
c int0.c
/*中断程序,帮助了解中断事件*/
#include
#include
sbit key_data=P3^4; //定义键盘接口的数据脚,与脚与蜂鸣器共用一个脚,记得把板子上的插针J15转过来
sbit key_clk=P3^2; //定义键盘接口的时钟脚
sbit JDQ=P3^5; //继电器
bit BF=0;
//c
www.eeworm.com/read/397699/8028713
h ps2.h
static unsigned char IntNum=0 ; //中断次数计数
static unsigned char KeyV=0; //键值
static unsigned char DisNum=0; //显示用指针
static unsigned char Key_UP=0, Shift=0;//Key_UP是键松开标识,Shift是Shift键按下标识
static unsi
www.eeworm.com/read/329855/12929685
c int0.c
/*中断程序,帮助了解中断事件*/
#include
#include
sbit key_data=P3^4; //定义键盘接口的数据脚,与脚与蜂鸣器共用一个脚,记得把板子上的插针J15转过来
sbit key_clk=P3^2; //定义键盘接口的时钟脚
sbit JDQ=P3^5; //继电器
bit BF=0;
//c
www.eeworm.com/read/312482/13610998
c key.c
#include
#include //_nop_();
#include
#define uchar unsigned char
#define uint unsigned int
#define ulong unsigned long
#define nops() {_nop_();_nop_();_nop_()
www.eeworm.com/read/493308/6400774
c 键盘实验.c
#include
#include
sbit key_data=P3^1;
sbit key_clk=P3^2; //定义键盘接口的时钟脚
//sbit RELAY=P1^0; //继电器
sbit RELAY=P1^1;
bit BF=0;
unsigned char code table[]={0xC0,0xF9,0xA4,0xB
www.eeworm.com/read/214523/15097510
h keycode.h
/*-------------------------------------------
键盘通码编码表
PS/2接口:
1(数据)--PD1
5(时钟)--PD2(INT0)
只需一个外部中断接口
2007.4.8
---------------------------------------------*/
#define uchar unsigned ch