Wordclock/unit/example.lua
2016-04-12 21:11:50 +02:00

11 lines
196 B
Lua

-- Example usage of the word clock
dofile("../wordclock.lua")
-- Manually set something
leds=display_timestat(15,30)
for k,v in pairs(leds) do
if (v == 1) then
print(k)
end
end