2016-04-12 21:11:11 +02:00
|
|
|
-- Example usage of the word clock
|
2016-04-12 21:11:50 +02:00
|
|
|
dofile("../wordclock.lua")
|
2016-04-12 21:11:11 +02:00
|
|
|
|
|
|
|
-- Manually set something
|
|
|
|
leds=display_timestat(15,30)
|
|
|
|
for k,v in pairs(leds) do
|
|
|
|
if (v == 1) then
|
|
|
|
print(k)
|
|
|
|
end
|
|
|
|
end
|