Moved debug printing line

This commit is contained in:
ollo 2017-03-01 19:44:23 +01:00
parent 6813822f6d
commit 3163148238

View File

@ -48,13 +48,14 @@ function displayTime()
timezoneoffset=0 timezoneoffset=0
end end
time = getTime(sec, timezoneoffset) time = getTime(sec, timezoneoffset)
print("Local time : " .. time.year .. "-" .. time.month .. "-" .. time.day .. " " .. time.hour .. ":" .. time.minute .. ":" .. time.second)
words = display_timestat(time.hour, time.minute) words = display_timestat(time.hour, time.minute)
ledBuf = generateLEDs(words, color, color1, color2, color3, color4, ledBuf = generateLEDs(words, color, color1, color2, color3, color4,
display_countwords_de(words)) display_countwords_de(words))
print("Local time : " .. time.year .. "-" .. time.month .. "-" .. time.day .. " " .. time.hour .. ":" .. time.minute .. ":" .. time.second)
-- Write the buffer to the LEDs -- Write the buffer to the LEDs
ws2812.write(ledBuf) ws2812.write(ledBuf)