Added configurable background color

This commit is contained in:
Ollo 2021-01-14 22:39:56 +01:00
parent 3875afc047
commit 8c18722ded

View File

@ -72,7 +72,7 @@ function displayTime()
invertRows=true invertRows=true
end end
local characters = displayword.countChars(words) local characters = displayword.countChars(words)
ledBuf = displayword.generateLEDs(words, colorBg, color, color1, color2, color3, color4, invertRows, characters) ledBuf = displayword.generateLEDs(words, color, color1, color2, color3, color4, invertRows, characters)
end end
displayword = nil displayword = nil
if (ledBuf ~= nil) then if (ledBuf ~= nil) then