Removed software to run on the host into the unit folder
This commit is contained in:
parent
0c57c73de3
commit
6c6b5ddae8
10
unit/example.lua
Normal file
10
unit/example.lua
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user