v1.6.991
This commit is contained in:
1 parent
664d58bb4f
commit
e733dba9f4
12 files changed
+102
-21
No files matched your search
@@ -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']);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user