STM32/Template/README.md

19 lines
204 B
Markdown
Raw Normal View History

2025-03-11 21:04:28 +08:00
# 按键扫描模板
## 修改使用
```c
if(key == 0)
{
Delay(10);
if(key ==0 )
{
if(num >= 996)
num=0;
else
num++;
while(!key);
}
}
```