One in long and short mode are both displayed
This commit is contained in:
parent
6621dee748
commit
8858bf2289
@ -74,10 +74,14 @@ function generateLEDs(words, color)
|
|||||||
if (words.seven == 1) then
|
if (words.seven == 1) then
|
||||||
buf= buf .. color:rep(6) -- SIEBEN
|
buf= buf .. color:rep(6) -- SIEBEN
|
||||||
buf= buf .. space:rep(5)
|
buf= buf .. space:rep(5)
|
||||||
elseif (words.one == 1) then
|
elseif (words.oneLong == 1) then
|
||||||
buf= buf .. space:rep(5)
|
buf= buf .. space:rep(5)
|
||||||
buf= buf .. color:rep(4) -- EINS
|
buf= buf .. color:rep(4) -- EINS
|
||||||
buf= buf .. space:rep(2)
|
buf= buf .. space:rep(2)
|
||||||
|
elseif (words.one == 1) then
|
||||||
|
buf= buf .. space:rep(6)
|
||||||
|
buf= buf .. color:rep(3) -- EIN
|
||||||
|
buf= buf .. space:rep(2)
|
||||||
elseif (words.two == 1) then
|
elseif (words.two == 1) then
|
||||||
buf= buf .. space:rep(7)
|
buf= buf .. space:rep(7)
|
||||||
buf= buf .. color:rep(4) -- ZWEI
|
buf= buf .. color:rep(4) -- ZWEI
|
||||||
|
Loading…
Reference in New Issue
Block a user