Difference between revisions of "Hello Lua"
From Wiki for Dragino Project
(Created page with "lua is a powerful, fast, lightweight language for embedded system. You can use lua for programming in Dragino. This page is for the starter of lua and provide example to call l...") |
(No difference)
|
Latest revision as of 08:02, 11 May 2011
lua is a powerful, fast, lightweight language for embedded system.
You can use lua for programming in Dragino. This page is for the starter of lua and provide example to call lua script in Dragino. if you are familiar with lua already. you can obmit this page.
Hello Dragino
Print "hello dragino" in the SSH access.
simpily add the print('Hello, Dragino') in a file and use lua to execute it.
root@dragino:~# cat hello.lua print ('hello, Dragino') root@dragino:~# lua hello.lua hello, Dragino