process luxometer

This commit is contained in:
Martin Donnelly 2016-07-07 15:53:36 +01:00
parent 4edeb690ad
commit eeff170999

View File

@ -39,7 +39,7 @@ bluetest = module.exports = function(options) {
//logger.warn('ascii:', _data);
logger.debug('>--',_data);
/* var wH = _data.slice(-5).split(' ');
var wH = _data.slice(-5).split(' ');
var wB = [];
wB[0] = parseInt(wH[0], 16);
wB[1] = parseInt(wH[1], 16);
@ -59,7 +59,6 @@ logger.debug('>--',_data);
lux = m * (0.01 * Math.pow(2.0, e));
logger.info('Lux: ', lux);
*/
console.log('- processLuxData');
};