From 4577a0768e19374b34698b146252ad1fe4f4e285 Mon Sep 17 00:00:00 2001 From: ollo Date: Thu, 18 Apr 2019 22:51:09 +0200 Subject: [PATCH] Visualize compiling --- init.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 18d711f..5a107f2 100644 --- a/init.lua +++ b/init.lua @@ -51,7 +51,9 @@ tmr.alarm(1, 5000, 0, function() (file.open("displayword.lua")) or (file.open("webserver.lua")) ) then - ws2812.write(string.char(0,0,0):rep(4) .. string.char(128,0,0) .. string.char(0,0,0) ..string.char(128,0,0) .. string.char(0,0,0):rep(21) .. string.char(0,0,0):rep(30) .. string.char(128,0,0) .. string.char(0,0,0):rep(80)) + c = string.char(0,128,0) + w = string.char(0,0,0) + ws2812.write(w:rep(4) .. c .. w:rep(15) .. c .. w:rep(9) .. c .. w:rep(30) .. c .. w:rep(41) .. c ) recompileAll() print("Rebooting ...") -- reboot repairs everything