diff --git a/unit/example.lua b/unit/example.lua new file mode 100644 index 0000000..51e2ebf --- /dev/null +++ b/unit/example.lua @@ -0,0 +1,10 @@ +-- 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