I was working on the project today, and I got init.lua loaded to the NodeMCU, but I cannot get it to upload the .MONO and weatherStation.lua files. It prints out,
PANIC: unprotected error in call to Lua API (cannot open weatherstation.lc)
PANIC: unprotected error in call to Lua API (attempt to call a string value)
And when I try to upload the .MONO and weatherStation.lua files, it says
Waiting answer from ESP - Timeout reached. Command aborted
Same is the problem with my code. It prints out:
unprotected error in call to Lua API (cannot open adxl345.lua)
If anyone can help me it will be really beneficial for me.
Thankyou , Ishan
Hello,
I was working on the project today, and I got init.lua loaded to the NodeMCU, but I cannot get it to upload the .MONO and weatherStation.lua files. It prints out, PANIC: unprotected error in call to Lua API (cannot open weatherstation.lc) PANIC: unprotected error in call to Lua API (attempt to call a string value) And when I try to upload the .MONO and weatherStation.lua files, it says Waiting answer from ESP - Timeout reached. Command aborted
Can anyone help? (I am running firmware v0.9.5)
Thanks, Samuel