Updated Lua Scripting (markdown)
This commit is contained in:
parent
b032442861
commit
7a8dd01452
|
@ -206,6 +206,7 @@ t = Timer.new();
|
|||
|
||||
function onTick()
|
||||
auxV = getAuxAnalog(0)
|
||||
-- todo: check for NIL value which is a sign of analog input not assigned in TS
|
||||
if auxV > 2 then
|
||||
t:reset();
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue