759
1050
3332
管理员
beep() print("请按键,长按c退出") while(1) do k = get_key() if (k > 0) then print(k) end end
使用道具 举报
1万
7万
11万
0
1
新手上路
Tian-T 发表于 2024-12-2 17:14 lua程序每次运行程序前判断按键是否按下已决定程序是否运行,依靠PC运行正常。离线模式第一次运行正常,第 ...
本版积分规则 发表回复 回帖后跳转到最后一页
|小黑屋|Archiver|手机版|硬汉嵌入式论坛
GMT+8, 2025-6-1 18:40 , Processed in 0.446171 second(s), 27 queries .
Powered by Discuz! X3.4 Licensed
Copyright © 2001-2023, Tencent Cloud.