Saataa andagii !

This commit is contained in:
Lukian 2024-12-19 12:05:25 +01:00
parent 934e97a709
commit 7a9860a3bb
2 changed files with 44 additions and 3 deletions

View file

@ -66,6 +66,15 @@ function avg(tab)
return sum / #tab
end
function split(text, splitter)
local start, _end = text:find(splitter)
if not start then
return text, ""
end
return text:sub(1, start - 1), text:sub(_end + 1)
end
-- charge tout nos fichiers lua
dofile("leds.lua")
dofile("buzz.lua")