From 1eaf05a1ad95219dc3e10e571c28f61ea6633909 Mon Sep 17 00:00:00 2001 From: Ollo Date: Tue, 8 Dec 2020 20:45:28 +0100 Subject: [PATCH] Add stop functionality --- main.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/main.lua b/main.lua index 6d10fd7..63718f3 100644 --- a/main.lua +++ b/main.lua @@ -188,6 +188,10 @@ function normalOperation() end +function stopWordclock() + for i=0,5,1 do tmr.stop(i) end +end + -------------------main program ----------------------------- ws2812.init() -- WS2812 LEDs initialized on GPIO2