key.h
来自「芯片at89s52」· C头文件 代码 · 共 32 行
H
32 行
/******************************************************************************
* File Name: Key.h *
* Create Time: 2007/07/14 *
* Description: *
* Copyright : *
* History : *
* |---Data---|---Author---|--Version--|--------------Description-------------|
*****************************************************************************/
#ifndef _KEY_ /* Performed as a on-off, to avoid the header */
#define _KEY_ /* file being included more than once */
/******************************
* Head File *
*****************************/
#include"LED\led.h"
/******************************
* Macros Segment *
*****************************/
/******************************
* Function Declaration *
*****************************/
uchar keyValue(uchar temp);//将按键对应的值附给数据缓冲区
uchar isKeyDown(void);//判断按键是否按下,按下返回1,否则返回0
void keyOperate(void);//对按键按下后按键的显示处理
uchar downKeyValue();
#endif
/*******************************************************************************
* The end of the entire file *
******************************************************************************/
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?