From e10ad2fafc31c965108949139ff50517c7704a6d Mon Sep 17 00:00:00 2001 From: Ollo Date: Sat, 3 Apr 2021 14:19:32 +0200 Subject: [PATCH] Dimm Boot process, and compile all modues --- init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index fba9d65..111f403 100644 --- a/init.lua +++ b/init.lua @@ -9,7 +9,7 @@ local bootledtimer = tmr.create() bootledtimer:register(100, tmr.ALARM_AUTO, function (t) counter1=counter1+1 spaceLeds = math.max(MAXLEDS - (counter1*2), 0) - ws2812.write(string.char(128,0,0):rep(counter1) .. string.char(0,0,0):rep(spaceLeds) .. string.char(0,0,64):rep(counter1)) + ws2812.write(string.char(32,0,0):rep(counter1) .. string.char(0,0,0):rep(spaceLeds) .. string.char(0,0,16):rep(counter1)) if ((counter1*2) > 114) then t:unregister() end @@ -36,7 +36,7 @@ initTimer:register(5000, tmr.ALARM_SINGLE, function (t) initTimer:unregister() initTimer=nil bootledtimer=nil - local modlist = { "timecore" , "displayword", "ds18b20" } + local modlist = { "timecore" , "displayword", "ds18b20", "mqtt", "main" } for i,mod in pairs(modlist) do if (file.open(mod .. "_diet.lua")) then file.remove(mod .. "_diet.lc")