> file.format() format done.
> file.open("init.lua","w")
> file.writeline([[print("Hello World!")]])
> file.close()
> file.open("init.lua", "r") > print(file.readline()) print("Hello World2") > file.close()
> node.restart()
NodeMCU 0.9.6 build 20150704 powered by Lua 5.1.4
Hello world2
>
http://qiita.com/masato/items/a91e0df84ac8be45e305
http://neo-sahara.com/wp/2015/12/12/
0 件のコメント:
コメントを投稿