Current Lua downloadable firmware will be posted here

User avatar
By flagtrax
#56084
Arduseb wrote:

NodeMCU 0.9.5 build 20150318 powered by Lua 5.1.4
lua: cannot open init.lua[/quote]

Hi, If that is the response from the module, you are connecting. I can't run init.lua until you upload one. Any script can be named init lua. It is a file that the firmware looks for, then executes if it is there. You can call your program init.lua if you want it to execute on reset/startup. Check here for more https://nodemcu.readthedocs.io/en/master/en/upload/#initlua
User avatar
By flagtrax
#56086
Arduseb wrote:NodeMCU 0.9.5 build 20150318 powered by Lua 5.1.4
lua: cannot open init.lua


Hi, If that is the response from the module, you are connecting. It can't run init.lua until you upload one. Any script can be named init.lua. It is a file that the firmware looks for at startup, then executes if it is there. You can call any script init.lua if you want it to execute on reset/startup. Check here for more https://nodemcu.readthedocs.io/en/master/en/upload/#initlua