summaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
authorNao Pross <np@0hm.ch>2021-04-07 13:13:32 +0200
committerNao Pross <np@0hm.ch>2021-04-07 13:13:32 +0200
commit4a6ddf107064c8b80b64346c15ae86f11e2fb0b7 (patch)
tree95a9364be5c561ec3dd7fe4f1404f6d9130f9b58 /lua
parentAdd font (diff)
downloadtestbench-ui-4a6ddf107064c8b80b64346c15ae86f11e2fb0b7.tar.gz
testbench-ui-4a6ddf107064c8b80b64346c15ae86f11e2fb0b7.zip
Delete demo lua console, start usbtmc driver
Diffstat (limited to 'lua')
-rw-r--r--lua/demo.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/lua/demo.lua b/lua/demo.lua
index 916eb2c..c5ee497 100644
--- a/lua/demo.lua
+++ b/lua/demo.lua
@@ -1,7 +1,11 @@
ui.print("hello world")
+table = {}
+table[1] = 1
+table["msg"] = "hello"
+
function do_something()
return 1
end
-return 10
+return table