-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Closed
Description
First read data bmp/bme280 get error
dofile("bmp280.lua")
bmp280.lua:7: bad argument #2 to 'format' (number expected, got nil)
stack traceback:
[C]: in function 'format'
bmp280.lua:7: in main chunk
[C]: in function 'dofile'
stdin:1: in main chunk
all next readings correct.
I have bme280 and bmp280, check booth.
Code http://paste.ubuntu.com/24710875/
logs http://paste.ubuntu.com/24711075/
i can wait long time to start script. Problem only with the first reading. After power up