Add stop functionality
This commit is contained in:
parent
b95f59ee7f
commit
1eaf05a1ad
4
main.lua
4
main.lua
@ -188,6 +188,10 @@ function normalOperation()
|
|||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function stopWordclock()
|
||||||
|
for i=0,5,1 do tmr.stop(i) end
|
||||||
|
end
|
||||||
|
|
||||||
-------------------main program -----------------------------
|
-------------------main program -----------------------------
|
||||||
ws2812.init() -- WS2812 LEDs initialized on GPIO2
|
ws2812.init() -- WS2812 LEDs initialized on GPIO2
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user