第 3 章代码 — 轻触开关

文件简要说明
test_button.py15 秒检测 SW20/SW21 按下并计数。
toggle_led.py左键翻左红灯,右键翻右绿灯。

代码总目录 · 章节讲解 · 教程首页