Manages the 1-wire bus
Dependents: oldheating heating
Diff: web/web-1wire-script.inc
- Revision:
- 9:6f663ad53c7e
- Parent:
- 8:ceafef18cbf7
- Child:
- 10:b4e0b4c4e045
diff -r ceafef18cbf7 -r 6f663ad53c7e web/web-1wire-script.inc --- a/web/web-1wire-script.inc Wed Jun 10 10:02:55 2020 +0000 +++ b/web/web-1wire-script.inc Wed Jun 10 11:41:03 2020 +0000 @@ -73,7 +73,7 @@ " {\n" " elem.textContent += key;\n" " elem.textContent += ' '; \n" -" elem.textContent += OneWire.parseDS18B20(value).toFixed(1);\n" +" elem.textContent += OneWire.DS18B20ToString(Ajax.hexToSignedInt16(value));\n" " elem.textContent += ' ';\n" " elem.textContent += getAssignedName(key);\n" " elem.textContent += '\\r\\n';\n"