process luxometer

This commit is contained in:
Martin Donnelly 2016-07-07 11:07:35 +01:00
parent 355caa6254
commit 427b7d74c4

View File

@ -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);