📄 keypad.h
字号:
/************************************************
*
* $Copyright 2001 Joseph J. Lemieux ALL RIGHTS RESERVED. $
*
* $Filename: C:\OSEKBook\src\CH06\inc\keypad.h $
*
* Description: Header file for Keypad handling module.
*
************************************************/
#ifndef KEYPADH
#define KEYPADH
/***
*
* Define Keypad Debounce Time
*
***/
#define KEY_DEBOUNCE_TIME 4
#define KEY_BUFFER_SIZE 8
/************************************************
*
* Function: GetKeyValue
*
* Inputs: none
*
* Outputs: none
*
* Returns: Character pressed.
*
* Description: This routine pulls the oldest character from
* the buffer of key presses from the keypad.
*
************************************************/
char GetKeyValue(void);
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -