1652.png (20.99 KB, 下載次數: 73)
wulin 發表于 2021-2-26 16:50
//適用于STC8
#include
wulin 發表于 2021-2-26 16:50
//適用于STC8
#include
旁觀者 發表于 2021-3-6 16:40
我的思路是這樣的,判斷按鍵按下在while循環自加一個變量,松開后用if判斷自加變量是否大于你定的時間變量 ...
| 歡迎光臨 (http://m.raoushi.com/bbs/) | Powered by Discuz! X3.1 |