Updated Lua Scripting (markdown)

This commit is contained in:
rusefillc 2021-10-19 11:00:56 -04:00
parent b032442861
commit 7a8dd01452
1 changed files with 1 additions and 0 deletions

View File

@ -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