switch_wait.h
来自「这是个用C语言写的单片机程序」· C头文件 代码 · 共 7 行
H
7 行
#ifndef _SWITCH_WAIT_H
#define _SWITCH_WAIT_H
#define switch_not_pressed (bit) 0 //开关变量
#define switch_pressed (bit) 1
void switch_init();
bit switch_get_input(const tByte) ; //采样数据
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?