gpio.h

来自「DOS下开发网络程序的SOCK库,有示例程序,包括FTP」· C头文件 代码 · 共 25 行

H
25
字号
/*

DM&P Mity-Mite Demo Program.
Copyright (C) 2002 by DM&P.

*/

#ifndef _GPIO_H_
#define _GPIO_H_

#define KEY_NULL  0
#define KEY_ENTER 1
#define KEY_LEFT  2
#define KEY_RIGHT 3
#define DUMP_LINE_SIZE 21

void Delay(int nTime);
void Beep2();
void Beep3();
void SetLed(int n);
int  GetKey();
void DumpBuf(char pp[][DUMP_LINE_SIZE],int nMaxLine);

#endif /* _GPIO_H_ */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?