Manages the 1-wire bus

Dependents:   oldheating heating

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