Sun 2019.03.03
While I have no experience with this module, I do observe the following:
ref http://www.espruino.com/DS18B20
Line #2 of the code example above doesn't appear to pull in the corresponding module, and most likely isn't creating an object instance.
See snippet under heading 'Software' also 2nd line: var sensor = require("DS18B20").connect(ow);
var sensor = require("DS18B20").connect(ow);
Therefore what is being observed is in fact what the circuitry sees. Unknown
Was the example on that page tried verbatim?
@Robin started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Sun 2019.03.03
While I have no experience with this module, I do observe the following:
Line #2 of the code example above doesn't appear to pull in the corresponding module, and most likely isn't creating an object instance.
See snippet under heading 'Software' also 2nd line:
var sensor = require("DS18B20").connect(ow);
Therefore what is being observed is in fact what the circuitry sees. Unknown
Was the example on that page tried verbatim?