I read that is better for develop NodeMcu to have test.lua script at first and when all is done then put init.lua with content as test has. I read about this that when init.lua is uploaded then nothing can be changed. Or can, but this became so hard to change. Why? My test.lua has include config.lua and application.lua.
Is this realy problem? If I upload init.lua, can I modify and upload this other scripts easy or is problem as I read?
This works, I have wifi connection in setup.lua and parameters for application in config.lua. In application.lua is code for reading MQTT topic and set on or off my connected LED.
This is my test that has to be replaced with init:
-- ESP8266
print("ESP8266 module start")
app = require("application")
config = require("config")
setup = require("setup")
setup.start() Thanx, I'am new here.
Faramon