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