ledstrip_sandbox/demo/1.lua
2021-09-16 14:27:35 +02:00

11 lines
167 B
Lua

while true do
for i=1,ledamount() do
if i > 1 then
led(i - 1, 0, 0, 0)
end
led(i, 255, 0, 0)
delay(100)
end
led(ledamount(), 0, 0, 0)
end