ds18b20 module not loading
Posted: Wed Oct 30, 2019 4:12 pm
Hi, I tried to update my software using the ds18b20 module to the new lua module in version 3.0.0.0 however it wont load:
I downloaded the new firmware using the nodemcu_build.com service. Is this effect only on the build service?
By the way I would like to inform you about a minor typo in the nodeMcu Documentation:
node Module
- node.info()
node_verion_major (number)
node_verion_minor (number)
node_verion_revision (number)
these three lines are missing the 's' in 'version'
Code: Select all
NodeMCU 3.0.0.0 built on nodemcu-build.com provided by frightanic.com
branch: master
commit: 310faf7fcc9130a296f7f17021d48c6d717f5fb6
release: 3.0-master_20190907
release DTS: 201909070945
SSL: false
build type: float
LFS: 0x0
modules: ds18b20,encoder,file,gpio,net,node,ow,rtctime,sjson,tmr,uart,websocket,wifi
build 2019-10-30 20:14 powered by Lua 5.1.4 on SDK 3.0.1-dev(fce080e)
lua: cannot open init.lua
>
ds18b20 = require("ds18b20")
ds18b20 = require("ds18b20")
stdin:1: module 'ds18b20' not found:
no field package.preload['ds18b20']
no file 'ds18b20.lc'
no file 'ds18b20.lua'
stack traceback:
[C]: in function 'require'
stdin:1: in main chunk
>
I downloaded the new firmware using the nodemcu_build.com service. Is this effect only on the build service?
By the way I would like to inform you about a minor typo in the nodeMcu Documentation:
node Module
- node.info()
node_verion_major (number)
node_verion_minor (number)
node_verion_revision (number)
these three lines are missing the 's' in 'version'