# 各种模板
## 修改后使用
### 按键消抖
```c
if(key == 0)
{
Delay(10);
if(key ==0 )
if(num >= 996)
num=0;
else
num++;
while(!key);
}
```