Added debug output

This commit is contained in:
ollo 2019-04-18 19:31:48 +02:00
parent 0e49a6842b
commit a8ca5ee47b
2 changed files with 3 additions and 0 deletions

View File

@ -26,6 +26,8 @@ if [ $? -ne 0 ]; then
fi fi
echo "Upgrading $IP" echo "Upgrading $IP"
echo "stopWordclock()" | nc $IP 80
FILES="displayword.lua main.lua timecore.lua webpage.html webserver.lua wordclock.lua init.lua" FILES="displayword.lua main.lua timecore.lua webpage.html webserver.lua wordclock.lua init.lua"
echo "Start Flasing ..." echo "Start Flasing ..."

View File

@ -125,6 +125,7 @@ function fillDynamicMap()
end end
function stopWordclock() function stopWordclock()
print("Stop all Wordclock")
-- Stop all -- Stop all
for i=0,5 do tmr.stop(i) end for i=0,5 do tmr.stop(i) end
-- unload all other functions -- unload all other functions