It is is seperated in two words
This commit is contained in:
parent
d851964bc9
commit
e25a36ba33
@ -89,18 +89,21 @@ function generateLEDs(words, colorFg, colorMin1, colorMin2, colorMin3, colorMin4
|
|||||||
local buf=colorFg
|
local buf=colorFg
|
||||||
|
|
||||||
-- line 1----------------------------------------------
|
-- line 1----------------------------------------------
|
||||||
if (words.it==1 words.is == 1) then
|
if (words.it==1) then
|
||||||
buf=drawLEDs(data,2) -- ES
|
buf=drawLEDs(data,2) -- ES
|
||||||
print(tostring(buf))
|
else
|
||||||
-- K fill character
|
buf=space:rep(2)
|
||||||
buf=buf .. space:rep(1)
|
|
||||||
buf=buf .. drawLEDs(data,3) -- IST
|
|
||||||
-- L fill character
|
|
||||||
buf=buf .. space:rep(1)
|
|
||||||
else
|
|
||||||
buf=space:rep(7)
|
|
||||||
end
|
end
|
||||||
if (words.fiveMin== 1) then
|
-- K fill character
|
||||||
|
buf=buf .. space:rep(1)
|
||||||
|
if (words.is == 1) then
|
||||||
|
buf=buf .. drawLEDs(data,3) -- IST
|
||||||
|
else
|
||||||
|
buf=buf .. space:rep(3)
|
||||||
|
end
|
||||||
|
-- L fill character
|
||||||
|
buf=buf .. space:rep(1)
|
||||||
|
if (words.fiveMin== 1) then
|
||||||
buf= buf .. drawLEDs(data,4) -- FUENF
|
buf= buf .. drawLEDs(data,4) -- FUENF
|
||||||
else
|
else
|
||||||
buf= buf .. space:rep(4)
|
buf= buf .. space:rep(4)
|
||||||
|
Loading…
Reference in New Issue
Block a user