Moved debug printing line
This commit is contained in:
parent
6813822f6d
commit
3163148238
3
main.lua
3
main.lua
@ -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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user