Manages the 1-wire bus
Dependents: oldheating heating
Diff: web/web-1wire-class.js
- Revision:
- 11:3859fee99d5d
- Parent:
- 9:6f663ad53c7e
diff -r b4e0b4c4e045 -r 3859fee99d5d web/web-1wire-class.js --- a/web/web-1wire-class.js Wed Jun 10 17:02:21 2020 +0000 +++ b/web/web-1wire-class.js Thu Feb 18 16:47:12 2021 +0000 @@ -12,6 +12,7 @@ case 0x7FFD: return 'Timed out' ; case 0x7FFC: return 'No device detected after reset'; case 0x7FFB: return 'Device removed during search' ; + case 0x7FFA: return 'Value not set' ; } return (value / 16.0).toFixed(1); }