STM32/Template/README.md
2025-03-11 22:16:13 +08:00

19 lines
204 B
Markdown

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