NodeMCU custom build by frightanic.com
branch: master
commit: b62fae918b3627209fe434950cffb2506cee9a31
SSL: false
modules: bme280,file,gpio,i2c,net,node,ow,spi,tmr,uart,wifi
build built on: 2017-08-23 16:50
powered by Lua 5.1.4 on SDK 2.1.0(116b762)
lua: cannot open init.lua
> dofile("initsens.lua")
> Status = 5 (Got IP)
I'm connected to my last network. Launching my real task.
1
fail read alt
fail baro
PANIC: unprotected error in call to Lua API (sensors.lua:36: attempt to perform arithmetic on global 'P' (a nil value))
after panic and reset all read is ok.
sensors.lua http://pastebin.ubuntu.com/25376535/
I need advice on how to get around this problem