代码搜索:按键扫描
找到约 10,000 项符合「按键扫描」的源代码
代码结果 10,000
www.eeworm.com/read/467580/7005574
h public.h
#ifndef PUBLIC_H
#define PUBLIC_H
#include "stdafx.h"
// Public.h : header file
#define KEY_FUN1 67 //C第二版对应按键
#define KEY_UP 71 //G
#define KEY_DOWN 66 //B
#define KEY_LEFT 84 //
www.eeworm.com/read/455378/7372822
c lock_main.c
#include
#include
#include
#include"LCD_12864.H" //LCD头文件
#include"read_card.H" //读卡头文件
#define key_inc (PINC&(1
www.eeworm.com/read/452065/7448013
plg test.plg
礦ision3 Build Log
Project:
F:\完结项目汇总\hookOn&按键&拨号ok\stc\test.uv2
Project File Date: 10/23/2008
Output:
www.eeworm.com/read/437710/7742008
c jianpan.c
#include
void delay(unsigned int i) //延时函数
{
do i--;
while(i!=0);
}
unsigned char key(void) // 判断按键的键值
{
unsigned char x=0xff;
P1DIR=0x0F;
P1OU
www.eeworm.com/read/330730/12873447
h stdafx.h
// stdafx.h : 标准系统包含文件的包含文件,
// 或是常用但不常更改的项目特定的包含文件
//
#pragma once
#include
#include
#include
#include //等候按键函数头文件声明
using namespace std
www.eeworm.com/read/329679/12939385
txt readme.txt
本示例程序主要为测试GPIO功能。
当程序运行时,LCD屏上会显示:
STR91x DEMO
GPIO TEST
并能通过按键K5(中断方式实现)轮流闪动L2、L3、L4、L5。
www.eeworm.com/read/329605/12945850
c ps2.c
#include
#include "intrins.h"
//#include "ku.h" //按键通码与ascii对照表
#include
#define uchar unsigned char
sbit sda= P2^5; //键盘数据线
extern uchar inbuf1[];
//extern uchar PS2
www.eeworm.com/read/325719/13187965
txt readme.txt
本示例程序主要为测试GPIO功能。
当程序运行时,LCD屏上会显示:
STR91x DEMO
GPIO TEST
并能通过按键K5(中断方式实现)轮流闪动L2、L3、L4、L5。
www.eeworm.com/read/239806/13256294
c readkey.c
/****************************************************************************
* 文件名:READKEY.C
* 功能:通过UART0读取上位机软件EasyARM发送的按键,然后将数据转换后返回到EasyARM,
* 在仿真的LED数码显示器上观察结果。
* 通讯波特率115200,8位数据位
www.eeworm.com/read/138048/13269556
c main.c
//==============================================================
// 工程名称: Record.scs "复读机"
// 功能描述: 结合"61板"的三个按键完成录音、停止和播放功能:
// 1、KEY1--录音(I/O口A0)
// 2、KEY2--停止(I/O口A1)
// 3、KEY3--播放(