increased update cycle to 10s

This commit is contained in:
ollo 2019-05-03 21:09:36 +02:00
parent ba6734d5ad
commit 467f525764

View File

@ -49,7 +49,6 @@ function displayTime()
end
local time = getTime(sec, timezoneoffset)
local words = display_timestat(time.hour, time.minute)
print(package.path)
dp = dofile("displayword.lc")
if (dp ~= nil) then
ledBuf = dp.generateLEDs(words, color, color1, color2, color3, color4)
@ -132,7 +131,7 @@ function normalOperation()
end)
displayTime()
-- Start the time Thread
tmr.alarm(1, 20000, 1 ,function()
tmr.alarm(1, 10000, 1 ,function()
displayTime()
collectgarbage()
end)