Manages the 1-wire bus
Dependents: oldheating heating
Diff: web/web-1wire-script.js
- Revision:
- 8:ceafef18cbf7
- Parent:
- 2:79cad6a51fd0
- Child:
- 9:6f663ad53c7e
diff -r 0a226e4fff25 -r ceafef18cbf7 web/web-1wire-script.js --- a/web/web-1wire-script.js Wed Jun 19 15:37:23 2019 +0000 +++ b/web/web-1wire-script.js Wed Jun 10 10:02:55 2020 +0000 @@ -73,7 +73,7 @@ { elem.textContent += key; elem.textContent += ' '; - elem.textContent += OneWire.DS18B20ToString(value); + elem.textContent += OneWire.parseDS18B20(value).toFixed(1); elem.textContent += ' '; elem.textContent += getAssignedName(key); elem.textContent += '\r\n';