This commit is contained in:
Klaus K Wilting committed 2018-12-09 13:48:03 +01:00
1 parent 664d58bb4f
commit e733dba9f4
12 files changed
+102 -21

No files matched your search

+5
View File
@@ -50,6 +50,11 @@ function Decoder(bytes, port) {
return decode(bytes, [float, uint16, ufloat, ufloat], ['temperature', 'pressure', 'humidity', 'air']);
}
if (port === 8) {
// battery voltage
return decode(bytes, [uint16], ['voltage']);
}
}