mirror of
https://gitlab.silvrtree.co.uk/martind2000/bluetest.git
synced 2025-02-04 09:10:15 +00:00
process luxometer
This commit is contained in:
parent
355caa6254
commit
427b7d74c4
@ -28,6 +28,7 @@ bluetest = module.exports = function(options) {
|
||||
|
||||
core.processLuxData = function(data) {
|
||||
var m, e, lux;
|
||||
logger.debug(data);
|
||||
var wH = data.slice(-5).split(' ');
|
||||
var wB = [];
|
||||
wB[0] = parseInt(wH[0], 16);
|
||||
|
Loading…
Reference in New Issue
Block a user