?? getkey.c
字號(hào):
/***********************************************************************/
/* This file is part of the C51 Compiler package */
/* Copyright KEIL ELEKTRONIK GmbH 1993 - 1999 */
/***********************************************************************/
/* */
/* GETKEY.C: This routine is the general character input of C51. */
/* */
/* To translate this file use C51 with the following invocation: */
/* */
/* C51 GETKEY.C <memory model> */
/* */
/* To link the modified GETKEY.OBJ file to your application use the */
/* following L51 invocation: */
/* */
/* L51 <your object file list>, GETKEY.OBJ <controls> */
/* */
/***********************************************************************/
#include <reg51.h>
char _getkey () {
char c;
while (!RI);
c = SBUF;
RI = 0;
return (c);
}
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -