As the title says... Chat on...

User avatar
By TerryE
#20985 When the Lua RTS powers up it powers up in interactive mode listening to the UART, and so you can download a program and execute it, but if you restart the node, this will get lost. But it also first looks for a file "init.lua" on the flash FS and executes it. My FAQ (link below) explains.
User avatar
By malc-c
#20990 OK I followed your example, and the LED on the GPIO is flashing at around 0.5Hz - the window in the app shows dofile("inti,lua")

but if the device is reset (soft or by power off / on) the LED stops flashing - Is there a way of loading the code to the devoice so it will run the program when rebooted ?
User avatar
By cal
#21008 You can use esplorer (really version 0.1? I think i am using 0.2 for some time, cannot check currently.)
to upload the init.lua to the esp.
Using some button on the right you can list the uploaded files.
Make sure to spell "init.lua" right.

Cal