I have Intel Galileo board . I have inserted to it SD card with Linux image so I could connect to it with putty ssh. Now I can run Linux commands on the device itself with putty.
我有英特尔Galileo主板。我已经插入了带有Linux映像的SD卡,所以我可以使用putty ssh连接到它。现在我可以使用putty在设备上运行Linux命令。
I want to know how i can make led blink using lua script , I want to execute the script on the device (in putty command line).
我想知道如何使用lua脚本使led闪烁,我想在设备上执行脚本(在putty命令行中)。
how do i do that ??
我怎么做 ??
1 个解决方案
#1
1
Just has you would do on a normal shell: lua -i
will launch lua in interactive mode, that mean you can input code line by line and the interpreter will execute it.
你有没有做普通的shell:lua -i将以交互模式启动lua,这意味着你可以逐行输入代码,解释器将执行它。
Another possibility is us scp
, this will use the SSH connection to move file, like a FTP but it will just work over any SSH connection by default
另一种可能是scp,这将使用SSH连接来移动文件,就像FTP一样,但默认情况下它只能在任何SSH连接上工作
#1
1
Just has you would do on a normal shell: lua -i
will launch lua in interactive mode, that mean you can input code line by line and the interpreter will execute it.
你有没有做普通的shell:lua -i将以交互模式启动lua,这意味着你可以逐行输入代码,解释器将执行它。
Another possibility is us scp
, this will use the SSH connection to move file, like a FTP but it will just work over any SSH connection by default
另一种可能是scp,这将使用SSH连接来移动文件,就像FTP一样,但默认情况下它只能在任何SSH连接上工作