代码搜索结果
找到约 1,930 项符合
Keypad 的代码
ex4-9.uv2
### uVision2 Project, (C) Keil Software
### Do not modify !
Target (Target 1), 0x0000 // Tools: 'MCS-51'
Group (Source Group 1)
File 1,1,
File 1,1,
ex4-9.lnp
"ex4-9.obj",
"keypad.obj"
TO "ex4-9"
RAMSIZE(256)
keypad.c
#include "keypad.h"
#include "delay.h"
bit keystatus = FALSE;
void keypad_init(){
keyport &=0x0F;
}
unsigned char getkey(){
unsigned char i,j,k,key=0,temp;
k=1;
for(i=0;i
keypad.h
#ifndef __KEYPAD_
#define __KEYPAD_
#include
#define keyport P1
#define col1 P1_0
#define col2 P1_1
#define col3 P1_2
#define TRUE 1
#define FALSE 0
void keypad_init();
uns
keypad.lst
MPASM 03.00 Released KEYPAD.ASM 8-28-2005 20:25:49 PAGE 1
LOC OBJECT CODE LINE SOURCE TEXT
VALUE
00001 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
keypad.sdi
,,,;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
,,,;
,,,; KEYPAD.ASM MPB Ver 1.0 28-8-05
,,,;
,,,; Reads keypad and shows digit on display
,,,; D
keypad.c
#include "types.h"
#include "board.h"
#include "keypaddef.h"
#include "ms_reg.h"
#include "global.h"
#include "debug.h"
#include "misc.h"
#include "ms_rwreg.h"
#include "mcu.h"
#include "msos
i2c-keypad.h
#ifndef I2C_KEYPAD_H
#define I2C_KEYPAD_H
#include
#include "i2c-aa.h"
#define MOD_NAME "i2c-keypad"
//#define KEYPAD_NAME "keypad"
/* KEYPAD register */
/*
unsigned long READREG
keypad.c
/* Having initialized the program and the curses library, we set the Keypad mode TRUE. */
#include
#include
#include
#define LOCAL_ESCAPE_KEY 27
int main()
{
keypad.h
// Keypad.h: interface for the CKeypad class.
//
// BlueWinZ Game Engine For BREW.
// Version: 1.0a
// (c)2003 anecia all rights reserved
/////////////////////////////////////////////////////////