嗨,这看起来很琐碎,但我找不到解决方案。
我的代码不断执行某些功能(读取温度,湿度)。
我想允许用户输入运行其他代码(设置温度设定值)。
我的编写代码工作正常,但我找不到将在用户按下时执行它的瞬时按钮。
切换按钮陷入状态循环(每个循环都会弹出相同的输入框,因为它仍然是“ON”。)我只是在寻找一个瞬间样式按钮,单击 - 执行。
我很困惑,在VEE中很难找到它。
以上来自于谷歌翻译
以下为原文
Hi,
This seems so trivial but I can't find a solu
tion.
My code continually executes certain functions (read temp, humidity). I want to allow user input to run other code (set temperature setpoint).
My writing code works fine, but I can't find a momentary button that will execute it on a user press. The toggle buttons get caught in a state loop (each cycle the same input box will pop up, because it is still "ON".)
I'm simply looking for a momentary style button, click - execute. I'm baffled it is so hard to find this in VEE.