Updated Lua Scripting (markdown)

This commit is contained in:
rusefillc 2021-10-19 11:06:11 -04:00
parent c7b2af0b3b
commit 4d067ac8e7
1 changed files with 1 additions and 0 deletions

View File

@ -207,6 +207,7 @@ timingAdd = 0;
function onTick()
auxV = getAuxAnalog(0)
tps = getSensor(10)
-- todo: check for NIL value which is a sign of analog input not assigned in TS
if auxV > 2 then
t:reset();