Add stop functionality

This commit is contained in:
Ollo 2020-12-08 20:45:28 +01:00
parent b95f59ee7f
commit 1eaf05a1ad

View File

@ -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