From 6c6b5ddae8715d51233d27918056881fa534565a Mon Sep 17 00:00:00 2001 From: ollo Date: Tue, 12 Apr 2016 21:11:11 +0200 Subject: [PATCH] Removed software to run on the host into the unit folder --- unit/example.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 unit/example.lua 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